Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/roosmaa/nano-bip39-demo
App to demonstrate Nano private key derivation from BIP39 mnemonic
https://github.com/roosmaa/nano-bip39-demo
bip39 nano nanocurrency
Last synced: 2 months ago
JSON representation
App to demonstrate Nano private key derivation from BIP39 mnemonic
- Host: GitHub
- URL: https://github.com/roosmaa/nano-bip39-demo
- Owner: roosmaa
- Created: 2018-03-23T18:30:30.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2022-03-22T21:11:36.000Z (almost 3 years ago)
- Last Synced: 2024-11-14T21:40:05.822Z (3 months ago)
- Topics: bip39, nano, nanocurrency
- Language: Go
- Size: 53.7 KB
- Stars: 15
- Watchers: 2
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# BIP39 Demo for Nano
This is a simple Go application that demonstrates how to derive a private/public key for [Nano](https://nano.org/) 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.