#stake #dusk #key #public-key #interaction #message #representation

stake-contract-types

Stake contract types for the Dusk Network

3 releases

0.0.1-rc.2 Dec 19, 2023
0.0.1-rc.1 Dec 15, 2023

#8 in #dusk

Download history 55/week @ 2023-12-14 10/week @ 2023-12-21 6/week @ 2023-12-28 11/week @ 2024-01-11 24/week @ 2024-01-18 41/week @ 2024-01-25 154/week @ 2024-02-01 147/week @ 2024-02-08 451/week @ 2024-02-15 308/week @ 2024-02-22 134/week @ 2024-02-29 40/week @ 2024-03-07 23/week @ 2024-03-14 144/week @ 2024-03-21 26/week @ 2024-03-28

239 downloads per month
Used in 2 crates (via dusk-wallet-core)

MPL-2.0 license

12KB
182 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

~7MB
~156K SLoC