Substrate-based key management, encryption, and signing for the Bittensor network.
btwallet provides wallet creation, mnemonic-based key derivation, keyfile encryption/decryption (NaCl, Ansible Vault, Fernet), and SS58 address utilities for Bittensor.
[dependencies]
btwallet = "4"use bittensor_wallet::keyfile;
use bittensor_wallet::keypair::Keypair;
let keypair = Keypair::create_from_mnemonic("your twelve word mnemonic ...");| Feature | Description |
|---|---|
| (default) | Pure Rust — no Python dependency |
python-bindings |
Enables PyO3 bindings for use from Python |
extension-module |
Builds as a Python extension module (used by maturin) |
vendored-openssl |
Vendors OpenSSL for static linking |
This crate also powers the bittensor-wallet Python package on PyPI. If you're looking for the Python SDK, see the README.
MIT