Skip to content

Money can buy most things. For everything else there’s FAVOR ☺

License

Notifications You must be signed in to change notification settings

betherworld/FAVOR

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Favor

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

Prerequisites

Prerequisites

  • node v10.15.1
  • npm v6.7.0

Toolchain

  • 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

Setup

git clone https://github.com/srozov/BETH19
cd BETH19

Deployment

Using ganache (default)

  1. run Ganache (default settings: port 127.0.0.1:7545 and network id 5777)
  2. set up metamask account by copying 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)
  3. in project root directory, execute the following:
truffle compile --all
truffle migrate --reset
(npm rebuild if problems with liteserver)
npm run dev

Using ganache-cli

  1. run ganache-cli (default settings: port 127.0.0.1:8545)
  2. set up metamask account by copying 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)
  3. in project root directory, execute the following:
truffle compile --all
truffle migrate --reset --network ganachecli
npm run dev

Troubleshooting

  • If there are compilation/deployment errors, try removing the build directory by executing rm -rf build

About

Money can buy most things. For everything else there’s FAVOR ☺

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •