A simple example of the bounties DApp with a React.js front end used in the AngelHack Intro To Ethereum: Build your 1st DApp Workshop
- Any user with an Ethereum account can Issue a bounty in ETH with the requirements
- Any user can submit a fulfillment of the bounty with evidence
- The bounty issuer can accept a fulfillment which would result in the fulfiller being paid out
-
Install Truffle globally.
npm install -g truffle
-
Install ganache-cli
npm install -g ganache-cli
-
Install npm packages
npm install
-
Run ganache-cli
ganache-cli
-
Run test through truffle
truffle test
-
Add a file in the root of the directory named 'secrets.json'
touch secrets.json
-
Populate the 'secrets.json' file with your mnemonic
{ "mnemonic": "my good mnemonic ..." }
-
Run deploy through truffle
truffle migrate --network rinkeby
You will need to have deployed the smart contracts first!
- Run via npm
npm run start