Skip to content
This repository has been archived by the owner on Jun 19, 2024. It is now read-only.

The smart contracts used in the IBFT PoS implementation

Notifications You must be signed in to change notification settings

0xPolygon/staking-contracts

Repository files navigation

staking-contracts

Smart contracts for IBFT PoS

How to start

$ git clone https://github.com/0xPolygon/staking-contracts.git
$ cd staking-contracts
$ npm i

Build contracts

$ npm run build

Run unit tests

$ npm run test

Deploy contract to Polygon Edge

$ npm run deploy

Stake balance to contract

Please make sure required values are set in .env to use this command

$ npm run stake

Unstake from contract

$ npm run unstake

Check current total staked amount and validators in contract

$ npm run info

About

The smart contracts used in the IBFT PoS implementation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors 4

  •  
  •  
  •  
  •