Structs§
- Account
Private - Account private key information
- KeyPair
Properties - Key pair properties with mnemonic and derivation path information
- Public
KeyInfo - Public key information extracted from private key
Functions§
- decode_
private_ key - Decode a private key from base58
- decode_
private_ key_ ed25519 - Decode a private key from ed25519:base58 format
- decode_
public_ key - Decode a public key from base58
- decode_
public_ key_ ed25519 - Decode a public key from ed25519:base58 format
- encode_
private_ key - Encode a private key to base58
- encode_
private_ key_ ed25519 - Encode a private key to ed25519:base58 format
- encode_
public_ key - Encode a public key to base58
- encode_
public_ key_ ed25519 - Encode a public key to ed25519:base58 format
- generate_
implicit_ account_ id - Generate implicit account ID from public key
- generate_
keypair - Generate key pair properties (alias for generate_keypair_properties with default path)
- generate_
keypair_ from_ mnemonic - Generate an ED25519 key pair from a mnemonic using SLIP-10 derivation
- generate_
keypair_ from_ mnemonic_ with_ path - Generate an ED25519 key pair from a mnemonic using BIP32 path derivation
- generate_
keypair_ properties - Generate key pair properties from mnemonic (optionally provided) Uses default path m/44’/397’/0’ if no path is provided
- generate_
keypair_ raw - Generate a new ED25519 key pair (raw keys)
- generate_
mnemonic - Generate a new BIP39 mnemonic phrase (12 words)
- get_
key_ with_ account_ id - Get key pair with account ID from mnemonic and index
- get_
key_ with_ mnemonic_ path - Get key pair with mnemonic and BIP32 path
- get_
mnemonic_ with_ rand - Generate key pair properties with optional mnemonic If mnemonic is None, generates a new one Uses default path m/44’/397’/0’
- get_
public_ key_ from_ private - Generate public key information from private key string Takes a private key in ed25519:base58 format and returns the corresponding public key and implicit account ID
- get_
signer_ with_ id_ key - Get signer with account ID and key string Returns (account_id, secret_key, public_key)
- mnemonic_
from_ phrase - Generate a mnemonic from an existing phrase
- sign_
message - Sign a message with a signing key
- verify_
signature - Verify a signature with a verifying key