https://github.com/hashfx/crowdfunding-dapp-neo
A decentralized crowdfunding platform enabling users to initiate fundraising campaigns. Fundraisers require consensus from contributors before withdrawing funds from the contract.
https://github.com/hashfx/crowdfunding-dapp-neo
Last synced: 11 months ago
JSON representation
A decentralized crowdfunding platform enabling users to initiate fundraising campaigns. Fundraisers require consensus from contributors before withdrawing funds from the contract.
- Host: GitHub
- URL: https://github.com/hashfx/crowdfunding-dapp-neo
- Owner: hashfx
- License: apache-2.0
- Created: 2024-02-04T15:32:32.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-06-22T11:17:12.000Z (about 2 years ago)
- Last Synced: 2025-07-01T12:52:58.779Z (about 1 year ago)
- Language: JavaScript
- Size: 322 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Crowd Funding DApp
A decentralized crowdfunding platform enabling users to initiate fundraising campaigns. Fundraisers require consensus from contributors before withdrawing funds from the contract.
### Run DApp :
- run ```sh setup.sh``` to setup automatically on LINUX
- run ```setup.bat``` to setup automatically on WINDOWS
- install node_modules in root directory: ```npm install```
- run hardhat node locally: ```npx hardhat node```
- compile smart contracts: ```npx hardhat compile```
- run test cases```npx hardhat test```
- Deploy contract on Polygon Amoy: ```npx hardhat run scripts/deploy.js --network amoy```
- note **contract address** and update it to clients/redux/interactions.js **crowdFundingContractAddress** variable
- if using GitPod: ```export NODE_OPTIONS="--openssl-legacy-provider"```
- run frontend:
```cd client
npm run dev
```
### Hardhat commands
```shell
npx hardhat accounts
npx hardhat compile
npx hardhat clean
npx hardhat test
npx hardhat node
node scripts/deploy.js
npx hardhat help
npx hardhat run scripts/deploy.js --network
```