Users are allowed to create campaigns on the blockchain and people can contribute to the project. Each contributor will be marked as an approver. The manager of the campaign can withdraw funds by creating withdraw requests and approvers can vote on the requests by verifying the genuinity of the withdrawal request. Manager can withdraw money if half of the approvers vote on the request. This can restrict the fraudulent projects from looting the money.
Smart contract is developed in solidity, compiled by solc and deployed to Rinkeby network using web3.js. NodeJs is used on the server, ReactJs on the front-end and NextJs is used for routing.
Install these prerequisites to follow along
- NPM: https://nodejs.org
- Metamask: https://metamask.io/
git clone https://github.com/Jameem/kickstarter.git
$ cd kickstarter
$ npm install
$ node server.js Visit this URL in your browser: http://localhost:3000