zeta-chain / example-contracts

Examples of universal smart contract implementing cross-chain swaps, NFT transfers, ERC-20 transfers and more
https://www.zetachain.com/docs
MIT License
82 stars 47 forks source link

Add an example contract demonstrating staking capability #196

Open lumtis opened 2 months ago

lumtis commented 2 months ago

Functionality in https://github.com/zeta-chain/node/issues/2754 gives the ability stake/claim ZETA through smart contracts.

This is a functionality that can brings lot of potential applications ideas (staking directly by making calls from Bitcoin, etc...) and it would be interesting to bring a example contract that can demonstrates these abilities.

To go further, maybe we could think about a single example contract incorporating the functionalities of the Universal staking idea: https://github.com/zeta-chain/node/issues/2793

It brings two other functionalities:

Staking is to be completed soon, while these two features above will be completed in a further release.