Skip to content

Smart contracts that powers the PoS (proof-of-stake) based bridge mechanism for Matic Network

License

Notifications You must be signed in to change notification settings

sameepsi/pos-portal

 
 

Repository files navigation

Matic PoS (Proof-of-Stake) portal contracts

Build Status

Smart contracts that powers the PoS (proof-of-stake) based bridge mechanism for Matic Network.

Setup

git clone https://github.com/maticnetwork/pos-portal
cd pos-portal

npm install

Compile all contracts

npm run template:process
npm run build

Start main chain and child chain

Start Main chain

npm run testrpc

Start Matic child chain (Requires docker)

npm run bor

If you ran a bor instance before, a dead docker container might still be lying around, clean it using following command:

npm run bor:clean

Run testcases

npm run test

Deploy contracts locally

npm run migrate

About

Smart contracts that powers the PoS (proof-of-stake) based bridge mechanism for Matic Network

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Solidity 70.8%
  • JavaScript 28.8%
  • Shell 0.4%