Registry / crypto / substrate-bip39

substrate-bip39

JSON →
library0.6.1rscratesunverified

Converts BIP39 entropy to valid Substrate (sr25519) SecretKeys.

# Cargo.toml [dependencies] substrate-bip39 = "0.6.1"
INSTALL
IMPORT
SIG · SUBSTRATE-BIP39
S
substrate-bip39
cryptorustv0.6.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

seed_from_entropy
use substrate_bip39::seed_from_entropy;

Generates a Substrate seed from BIP39 entropy.

use substrate_bip39::seed_from_entropy; fn main() { let entropy = [0u8; 16]; let password = ""; let seed = seed_from_entropy(&entropy, password).unwrap(); println!("Seed: {:?}", seed); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.6.1latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
34 hits · last 30 days
node
30
Resources
substrate-bip39 — cargo add substrate-bip39 · libregistry