Expand description
Wallet-like features
Structs§
- Mnemonic
Generator - Signed
Message - Represents the signature of a signed message
- Wallet
- A collection of secret keys. This simplified signing by matching the secret keys to the correct inputs automatically.
Functions§
- mnemonic_
generator ⚠ - Create
MnemonicGenerator
instance - mnemonic_
generator_ ⚠generate - Generate mnemonic sentence using random entropy
- mnemonic_
generator_ ⚠generate_ from_ entropy - Generate mnemonic sentence using provided entropy
- verify_
signature ⚠ - Verify that the signature is presented to satisfy SigmaProp conditions.
- wallet_
add_ ⚠secret - Add a new secret to the wallets prover
- wallet_
from_ ⚠mnemonic - Create
Wallet
instance loading secret key from mnemonic Returns Err if a DlogSecretKey cannot be parsed from the provided phrase - wallet_
from_ ⚠secrets - Create
Wallet
from secrets - wallet_
generate_ ⚠commitments - Generate Commitments for unsigned tx
- wallet_
generate_ ⚠commitments_ for_ reduced_ transaction - Generate Commitments for reduced transaction
- wallet_
sign_ ⚠message_ using_ p2pk - Sign an arbitrary message using a P2PK address
- wallet_
sign_ ⚠reduced_ transaction - Signs a reduced transaction (generating proofs for inputs)
- wallet_
sign_ ⚠reduced_ transaction_ multi - Signs a multi signature reduced transaction
- wallet_
sign_ ⚠transaction - Signs a transaction
- wallet_
sign_ ⚠transaction_ multi - Signs a multi signature transaction