Expand description
Substrate wallet and account management
This module provides comprehensive wallet functionality including:
- Key pair generation (SR25519, ED25519)
- Mnemonic phrase support (BIP-39)
- SS58 address encoding
- Message and transaction signing
- Multi-wallet management
§Security
This module handles sensitive cryptographic material (private keys).
The underlying sp_core::Pair types implement secure memory handling.
For additional safety:
- Avoid unnecessary cloning of wallet instances
- Use
Arc<Wallet>for shared access - Ensure wallets are dropped when no longer needed
Structs§
- Wallet
- A unified wallet that can hold either SR25519 or ED25519 keys
- Wallet
Manager - Manager for multiple wallets
Enums§
- KeyPair
Type - Supported key pair types