#instructions #constructor #stake #interface #bincode

spherenet-stake-interface

Instructions and constructors for the Stake program

2 releases

Uses old Rust 2015

new 0.1.1 Mar 21, 2025
0.1.0 Mar 21, 2025

#8 in #stake

MIT license

145KB
3K SLoC

SphereNet Stake Interface

Getting Started

From your project folder:

cargo add spherenet-stake-interface --features bincode

This will add the spherenet-stake-interface dependency with the bincode feature enabled to your Cargo.toml file. The bincode feature contains the instruction constructors to create instructions for the Stake program.


lib.rs:

The Stake program interface.

Dependencies

~2–8.5MB
~89K SLoC