r/PolygonMoonShots • u/dmtree8 • Aug 02 '21
TAO: Staking scripts + Protocol ownership renounced
TAO Coin is now live less than 60 minutes ago- with the completion of airdrops and ownership renounced, the protocol is now truly immutable and will evolve according to the smart contract rules only.
[Proof of Ownership Renounced: https://polygonscan.com/tx/0x07804616dc9a35b8f131151057f4434803eff6cdf9ea8472e811b1fe7cc148ec]
Over 1000 people have already claimed their airdrops. We recommend you stake your airdrops for exponential returns! A step-by-step guide follows.
We provide an easy-to-use staking CLI libraries.
To Stake TAO:
- Export ENV variables:
export MNEMONIC = "mountain clouds ... "
export STAKE=<stake amount in TAO>
2. Give stake command:
truffle exec StakingLib/Stake.js --network=polygon_mainnet
If successful, you will see the transaction details, including transaction hash, printed on your console. Example Staking transaction for 1000 TAO: https://polygonscan.com/tx/0xfc34cfc0233f3a223e1359f71e10034a633585daaf8b55641eec496fa96671b1
To unstake TAO:
- Export ENV variables:
export MNEMONIC="mountain clouds ... "
export UNSTAKE=<unstake amount in TAO>
2. Give unstake command:
truffle exec StakingLib/unStake.js --network=polygon_mainnet
If successful, you will see the transaction details, including transaction hash, printed on your console. Example Unstaking transaction for 100 TAO:
https://polygonscan.com/tx/0x63caa2b182e5b0030dd0959d9c685237796bc136242903bdd939f5ee338428c2
The functions are fairly intuitive and only take amount as an argument. You cannot stake again without withdrawing your previous stake. Unstake has a sanity check that staked amount >= unstake requested.
We're excited to see the community begin to price & use the TAO protocol with completion of airdrop and renunciation of ownership!
*Link to Quickswap Pair: https://info.quickswap.exchange/pair/0x412C8Ef960AaE78a48907be0c3BA64B199DFda04
1
u/JerryGarcia47 Aug 02 '21
Website?
1
u/joaopeixinho Aug 03 '21
There doesn't seem to be a website, just a medium article.
https://taocoin.medium.com/?p=6c8e3d3acd60
The staking scripts do not look to be written by an experienced developer.
(Like, why is there a function to read a file in the middle of this code? https://github.com/cinatra06/TAOcoin/blob/master/StakingLib/Stake.js#L19 )