Contracts and web app to run Kyodo project.
To run the whole Kyodo project you need to setup 3 projects:
- Kyodo (this repository) to setup colony, sign final tips, get your balance and view tasks progress
- Kyodo backend to run mongodb server and tipping watch within period
- Kyodo bot to run riot bot for task creation and instant tipping
git clone https://github.com/decentfund/kyodo.git
cd kyodo
yarn
ganache-cli --gasLimit 7000000 -b 3
cp migrations/deploy_parameters.example.json migrations/deploy_parameters.json
Change deploy_parameters.json to reflect the initial distribution you want or leave accounts section empty.
We implement ERC-20 token contract to bootstrap app based on OpenZeppelin ERC20 Mintable token and Ownable contracts, for working with strings we utilize strings.sol library.
truffle migrate --reset --compile-all
yarn start
Don't forget to switch Metamask network to localhost:8545
// Truffle teste
npm run truffle:test
// App tests
npm run jest