Skip to content
This repository was archived by the owner on Jul 12, 2026. It is now read-only.

Latest commit

 

History

History
42 lines (28 loc) · 1.34 KB

File metadata and controls

42 lines (28 loc) · 1.34 KB

btwallet

Substrate-based key management, encryption, and signing for the Bittensor network.

Crates.io Documentation License: MIT

Overview

btwallet provides wallet creation, mnemonic-based key derivation, keyfile encryption/decryption (NaCl, Ansible Vault, Fernet), and SS58 address utilities for Bittensor.

Usage

[dependencies]
btwallet = "4"
use bittensor_wallet::keyfile;
use bittensor_wallet::keypair::Keypair;

let keypair = Keypair::create_from_mnemonic("your twelve word 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