Skip to content

Secret-Stakepool/Scrt-Stakepool

Repository files navigation

Secret pool

Staking secret contract, where the rewards are allocated to a random winner based on the weight of their stake.

Build

 cargo wasm

Start server

  docker run -it --rm \
 -p 26657:26657 -p 26656:26656 -p 1337:1337 \
 -v $(pwd):/root/code \
 --name secretdev enigmampc/secret-network-sw-dev

ENV Config

cp client/.env-defaults client/.env

Add your deployment account details to .env

Fund deployer account

./client/scripts/fund_accounts.sh

Test contract deploy, staking etc with SecretJS

cd client
yarn
node scripts/test-contract.js

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published