#contract #stake #dusk #networking #key #public-key #interaction

stake-contract-types

Stake contract types for the Dusk Network

4 releases

0.1.0-rc.0 May 1, 2024
0.0.1-rc.2 Dec 19, 2023
0.0.1-rc.1 Dec 15, 2023

#10 in #dusk


Used in 2 crates (via dusk-wallet-core)

MPL-2.0 license

12KB
176 lines

stake-contract-types

Provides types which are needed for the interaction with the Dusk Network Stake Contract:

  • Stake
  • Unstake
  • Withdraw
  • Allow

It also provides staking-related message signing functions as well as the StakeData object - a representation of a public key's stake.


lib.rs:

Types used for transactions with Dusk's stake contract.

Dependencies

~8MB
~169K SLoC