btwallet
Substrate-based key management, encryption, and signing for the Bittensor network.
Overview
btwallet provides wallet creation, mnemonic-based key derivation, keyfile encryption/decryption (NaCl, Ansible Vault, Fernet), and SS58 address utilities for Bittensor.
Usage
[]
= "4"
use keyfile;
use Keypair;
let keypair = create_from_mnemonic;
Features
| 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 |
Python package
This crate also powers the bittensor-wallet Python package on PyPI. If you're looking for the Python SDK, see the README.
License
MIT