Skip to content

roosmaa/nano-bip39-demo

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 

BIP39 Demo for Nano

This is a simple Go application that demonstrates how to derive a private/public key for Nano from a BIP39 mnemonic. Ledger harware wallets use the same logic for deriving Ed25519 curve based private keys from mnemonic.

Note: Go Ed25519 library doesn't support using a hash other than SHA512, but Nano requires the usage of Blake2B. The Ed25519 library has been forked into the internal/ folder and the hash function replaced to be suitable for Nano.

Usage of the tool:

$ go install github.com/roosmaa/nano-bip39-demo@latest
$ nano-bip39-demo -mnemonic "edge defense waste choose enrich upon flee junk siren film clown finish luggage leader kid quick brick print evidence swap drill paddle truly occur" -password "some password" -path "44'/165'/0'"

NB! Please don't use any of the addresses generated by the mnemonic above for storing any cryptocurrencies.

About

App to demonstrate Nano private key derivation from BIP39 mnemonic

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages