Matic contracts are ethereum smart contracts to power Matic Network.
npm install
npm run truffle:compile
npm run mainchain
npm run maticchain
npm run truffle:migrate
alternatively,
(deploy contracts on rootchain)
npm run truffle:migrate:1
(deploy contracts on matic chain)
npm run truffle:migrate:2
(map token on mainchain)
npm run truffle:migrate:3
# run test cases
$ npm run test:ci