Skip to content

Smart contracts comprising the business logic of the Matic Network

License

Notifications You must be signed in to change notification settings

luandt-ibl/contracts

 
 

Repository files navigation

Matic contracts

Build Status

Matic contracts are ethereum smart contracts to power Matic Network.

Install dependencies with

npm install

Compile

npm run truffle:compile

Start chains

npm run mainchain
npm run maticchain

Migrate

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:

# run test cases
$ npm run test:ci

About

Smart contracts comprising the business logic of the Matic Network

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 52.1%
  • Solidity 47.5%
  • Shell 0.4%