We want to create a DApp that would allow people to exchange favors — small tasks completed by a person in close nexus to a requestor Users register what favors they need fulfilled and what services they can provide in form of FVR smart contracts
- node v10.15.1
- npm v6.7.0
- Truffle v5.0.4 (core: 5.0.4) with Solidity v0.5.0 (solc-js)
- Ganache v1.3.0 or Ganache CLI v6.3.0 (ganache-core: 2.4.0)
- Metamask v6.0.1
git clone https://github.com/srozov/BETH19
cd BETH19
- run Ganache (default settings: port 127.0.0.1:7545 and network id 5777)
- set up metamask account: copy the seed phrase from Ganache, change network to custom RPC, and set the New RPC URL field to Ganache url address (default: http://127.0.0.1:7545)
- in project root directory, execute the following:
truffle compile --all
truffle migrate --reset
(npm rebuild if problems with liteserver)
npm run dev
- run ganache-cli (default settings: port 127.0.0.1:8545)
- set up metamask account: copy the seed phrase from ganache-cli, change network to custom RPC, and set the New RPC URL field to ganache-cli url address (default: http://127.0.0.1:8545)
- in project root directory, execute the following:
truffle compile --all
truffle migrate --reset --network ganachecli
npm run dev
- If there are compilation/deployment errors, try removing the build directory by executing
rm -rf build
- Double-check the versions of