Module keypair

Module keypair 

Source
Expand description

Keypairs, secret keys, and public keys

Structs§

Keypair
Keypair structure holding a SecretKey and its respective PublicKey
PublicKey
Structure holding a public key, wrapping a pallas::Point element.
SecretKey
Structure holding a secret key, wrapping a pallas::Base element.
StandardAddress
Defines a standard DarkFi pasta curve address containing prefix and pubkey.

Enums§

Address
Addresses defined on DarkFi. Catch-all enum.
AddressPrefix
Network

Constants§

ADDR_CHECKSUM_LEN 🔒
The address checksum is the first four bytes of the hashed data.
STANDARD_ADDR_LEN 🔒
Standard address consist of [prefix][public_key][checksum].