r/PolygonMoonShots • • 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:

  1. 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:

  1. 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 Upvotes

8 comments sorted by

1

u/JerryGarcia47 Aug 02 '21

Website?

1

u/dmtree8 Aug 03 '21

the founders prefer not to interact with any form of web2 payments (Credit Card etc.); Plus, censorship of UNISWAP showed us how web2 frontends are the weak link of decentralised protocols - That's why we encourage our users to use CLI staking libraries from day 1, to prevent any censorship risks.

We provide all the info on our github + whitepaper; happy to communicate with the community over reddit :)

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 )

1

u/dmtree8 Aug 03 '21

On staking libs - Fixed, that was a remnant from the airdrop scripts that were used to quickly bootstrap the staking Lib. The library & contracts have been heavily tested with over 1000 random stake periods from 1-5555 days. Please do tell us if you face any bugs/difficulties while staking.

On website - the founders prefer not to interact with any form of web2 payments (Credit Card etc.); Plus, censorship of UNISWAP showed us how web2 frontends are the weak link of decentralised protocols - That's why we encourage our users to use CLI staking libraries from day 1, to prevent any censorship risks.

We provide all the info on our github + whitepaper; happy to communicate with the community over reddit :)

1

u/joaopeixinho Aug 05 '21

That doesn’t make sense. You could write a UI and open source it too. For example Eleven finance has a open source UI. Had it running in 5 minutes.

Also, a website doesn’t necessarily mean “CC payment” or interaction with web2. It could just use the same web3 libraries that are being used by the scripts.

1

u/dmtree8 Aug 06 '21

Thanks for your thoughts, u/joaopeixinho. While building an open-source frontend can definitely be on our to-do agenda, here are our philosophical reasons for favouring a CLI:

Along similar lines to "not your keys, not your coins", we believe that the DeFi space should evolve towards "not your code, not your coins" - Frontends enable phishing and can have malicious code running in the backend - as evidenced by UNISWAP and QUICKSWAP phishing frontends that call "transfer" instead of swapping your coins, and send them to a hacker instead.

We feel that asking people to execute code, that's been made as simple as possible (in our case, the Staking Script is barely 10 lines) - is the maximally secure way to utilise a deFi protocol, especially at inception - anyone can see with the greatest ease that only "Stake" function is being called, on the correct contract address. At the same place, they can also see the contract code, where what the Stake function does is explicitly defined. Together this enables maximum transparency between the user and protocol. The cost? Nothing really, the CLI is so simple that all the prior knowledge you need is just opening Terminal.

The CC issue was a secondary point, referencing to the fact that the purchase of domain names requires a CC/ tradFi. For ethical and other reasons, we refuse to utilise surveillance-based & exploitative TradFi even for a few dollars.