- It is a smart contract build on top of Ethereum Blockchain to Simulate crowd Funding Campaign
- Anyone can create a campaign by setting up a minimum contribution required to get approver status in a campaign
- Campaign Manager can withdraw eth from the smart contract when a majority of approvers have given consensus
- Manager have to finalize the request txn after a majority has been reached
- This is currently Deployed on : Go to deployement
- You can view the smart Contract factory on Rinkeby testnet: Address - 0x547F2777219dC09F2eD8640ddf6104cA7fAF05F1
- Contracts are deployed on Rinkeby Testnet
- Git clone this repository in you local machine
- Run
yarn install
ornpm install
from root project folder - Goto http://localhost:3000 to see the running project
- To Compile Smart Contracts
- Run
node ethereum/compile.js
- After successful compilaion you can see a
ethereum/build
directory containing contract details
- Run
- To Deploy Smart Contracts
- Make a
.env
file in root folder of project and add keysWALLET_MNEUMONICS
andINFURA_KEY
. - To deploy run
node ethereum/deloy.js
- Make a
- To test smart contracts
- Run
npm run test
- Test are written in "mocha" with "ganache-cli" for testing smart contracts
- Run