Ethereum smart contracts that power the Matic Network.
npm install
npm run template:process
npm run truffle:compile
- Start Main chain
npm run testrpc
- Start Matic side chain. Requires docker.
npm run bor:simulate
- If you ran a bor instance before, a dead docker container might still be lying around, clean it with
npm run bor:clean
- Run a bor (our matic chain node) instance.
- For local development
npm run truffle:migrate
- For a properly initialized set of contracts, follow the instructions here.
npm test