A decentralized fundraising application.
- In main directory, run
truffle compile - If Openzeppelin contracts are not found, install them using
npm install @openzeppelin/contracts - If compilation is successful, migrate contracts onto blockchain using
truffle migrate - Optionally, you can test the smart contracts using
truffle test - In client directory, install dependencies using
npm iand run the react code on development server usingnpm start
- Smart Contract Error: Returned values aren't valid, did it run Out of Gas? Run
truffle migrate --reset
- Shift
createFundraiser()to NewFundraiser component - Shift
getFundraiser()andinit()from App to Home component