Skip to content

Vara-Lab/Smart-Contracts-Examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 

Repository files navigation

Vara Lab Smart Contracts Examples

Smart contracts whose logic you can see and use to implement specific logic in your own smart contracts.

Examples

  • Demo Sails Staking Broker: This smart contract will help illustrate how to use the Staking Built-in Actor, it provides a basic implementation called Sails Staking Broker. This smart contrat acts as simple example to demostrate the concepts of bonding, unbonding, and nominating validators on behalf of users.

    Note: The Sails Staking Broker is intended for demostration purposes only. It accepts user messages to perform actions such as bonding tokens, unbonding funds, and nominating validators. However, it does not handle certain critical aspects, such as managing the unbonding period or other complexities involved in a real-world scenario. A production-level implementation, like a liquid staking contract, would be significantly more intricate, you can refer to the Staking Service to implement this feature and handle all aspects of staking.

About

A set of smart contracts that you can use or build upon for your dApps on Vara Network.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages