A DApp running on ethereum network inspired on kickstarter crowdfunding system.
- WSL/Linux/MacOS
- nodejs
- npm
- git
- Metamask browser extension
- Copy .env to .env.local
- Configure your mnemonic passphrase and infura url
- Compile code
npm run compile - Set env variables from .env.local
set -o allexport && source .env.local && set +o allexport - Deploy code to Sepolia test network
npm run deploy - Add printed campaign factory contract address to .env.local file.
- Set env variables from .env.local
set -o allexport && source .env.local && set +o allexport(needed because of the updated contract address) - Start project
npm run dev - Open the app in a browser
Runs the mocha tests for the smart contracts npm run test
- Ensure that line ending of all files is LF
- Ensure port 3000 is free.