Live Url: https://ackintya-blockchain-developer-bootcamp-final-project.vercel.app/
0x159f0b12ca7AA7f2189ebCa434154e7489AC3f2E
Quadratic Funding is the mathematically optimal way to fund public goods in a democratic community. This work aims to give a platform for projects to get funding from common people as well as sponsor pool
This is implemented by system of three contracts, Qfunding.sol, Pool.sol and Project.sol
Qfunding.sol: It is the market for all the pools and projects you see, it has access to create and payout pools
Pool.sol: It is the implementation of pool structure, which can have any number of projects. It has access to create and calculate payout for projects.
Project.sol: It is the implementation of project structure. It has name,owner,image and description of the project
https://drive.google.com/file/d/1yKTz8VSsc4obnb5yJ9Ymn_j6-I9UEKtd/view?usp=sharing
.
├── contracts
├── artifacts
├── public
├── scripts
├── src
├── test
├── package-lock.json
├── package.json
├── deployed_address.txt
├── avoiding_common_attacks.md
├── design_pattern_decisions.md
├── LICENSE
└── README.md
- Node.js v16.9.1
- npm 7.21.1
- Hardhat
- React
- @nomiclabs/hardhat-ethers
- @nomiclabs/hardhat-waffle
- chai
- dotenv
- ethereum-waffle
- ethers
- hardhat
- react
- react-dom
- react-scripts
- web-vitals
- Clone from
https://github.com/ackintya/blockchain-developer-bootcamp-final-project.git npm installto install all dependenciesnpx hardhat testto perform unit tests NOTE: please comment out Sepolia network block inhardhat.config.jsbefore test.npx hardhat nodeto start the local test nodenpx hardhat run scripts/deploy.ts --network localhostto deploy the contract to the test network- replace marketaddress in
config.jswith address obtained in step 5 npm startto start React server populated at http://localhost:3000/- Replace chainid as 1337 in
pages/index.js