Skip to content

Mind-chain/mindstaker

 
 

Repository files navigation

staking-contracts

Smart contracts for IBFT PoS

How to start

$ git clone https://github.com/MetaViralBit/MetaViral-Staking-Contract.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

Create new validator address and private key

$ npm run createwallet

Check balance for validator address

$ npm run getbalance

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 89.1%
  • Solidity 10.9%