A decentralized bounty-creating and bounty-hunting application.
- Allows one to create bounties on any task
- Allows one to solve any of the listed bounties and get paid in ETH
- Truffle v5.0.1
- Ganache CLI v6.1.6 (ganache-core: 2.1.5)
- Node v9.11.2
- ReactJS v16.6.3
- Semantic-ui-react v0.84.0
- Semantic-ui-css v2.4.1
- Web3 v1.0.0-beta.37
- VS Code v1.31.0
- Remix IDE
Type the following in the command line / terminal
git clone https://github.com/dev-bootcamp-2019/final-project-smitrajput.git
cd final-project-smitrajput
- To install dapp dependencies:
npm install dotenv truffle-hdwallet-provider
- To run a local blockchain to test the contracts:
truffle develop
- To compile, in the truffle console type:
compile
- To migrate the contracts on the blockchain:
migrate
. Usemigrate --reset
in case of error. - To test, type:
test
cd client
- To install app dependencies:
npm install
- To start the local dev server and launch the dapp:
npm run start
- It will aotomatically open, else visit
http://localhost:3000/
to interact with the dapp. TypeY
, if it asks to use another port, in case the port 3000 is already in use. - Login to your Metamask into the Rinkeby Test Network and allow the React App to connect to your MetaMask account.
- Click on 'Become a Bounty-Creator' button to register yourself as a Bounty-Creator.
- You will observe the number of Bounty-Creators increase (you can cross-check by noting the current number, then refesh the page, and register again to see the number of Bounty-Creators increase by 1).
- You can also see your Metamask account ETH address after registering.
README: Anshuman Verma