Module ergo_lib_c_core::wallet
source · Expand description
Wallet-like features
Structs
- Represents the signature of a signed message
- A collection of secret keys. This simplified signing by matching the secret keys to the correct inputs automatically.
Functions
- Create
MnemonicGenerator
instance - Generate mnemonic sentence using random entropy
- Generate mnemonic sentence using provided entropy
- Verify that the signature is presented to satisfy SigmaProp conditions.
- Add a new secret to the wallets prover
- Create
Wallet
instance loading secret key from mnemonic Returns Err if a DlogSecretKey cannot be parsed from the provided phrase - Create
Wallet
from secrets - Generate Commitments for unsigned tx
- Generate Commitments for reduced transaction
- Sign an arbitrary message using a P2PK address
- Signs a reduced transaction (generating proofs for inputs)
- Signs a multi signature reduced transaction
- Signs a transaction
- Signs a multi signature transaction