Angainor Dev - NyzoSpace Wallet

A Hierarchical Deterministic Wallet Generator for Nyzo - Nyzo HD Wallet.

View on GitHub

NyzoSpace

Hierarchical Deterministic wallet for Nyzo Crypto currency.

JS Port.

Overview

Auto build Github pages version: https://angainordev.github.io/NyzoSpace/js/dist/index.html

Derivation mechanism

Note: This implementation follows SLIP-0010 https://github.com/satoshilabs/slips/blob/master/slip-0010.md and BIP44

Legacy derivation

BIP 39 mnemonic (12 or more words, plus default pass “NYZO_ROCKS!”) => seed (512 bits, 64 bytes)

master seed = sha512Hmac(‘ed25519 seed’).digest(seed)

master seed (64 bytes) => left = seed, right = chainCode

Derivation path is m/x’

derived_seed = sha512Hmac(parent.chainCode).digest(0 + parent.seed + UINT32(index))

derived_seed (64 bytes) => left = seed, right = chainCode

seed (32 bytes) => privatekey (64 bytes)

privatekey (64 bytes) => publickey (32 bytes)

New derivation mechanism

BIP 39 mnemonic (12 or more words, plus empty or custom pass ) => seed (512 bits, 64 bytes)

Derivation path is m/44’/380’/x’

Compatibility is kept. Previously created wallets still can be rebuild the same way.

Paper codes

entropy (32 bytes) <=> BIP 39 mnemonic (24 words)

entropy (32 bytes) <=> seed (32 bytes)

Tests

See test directory for API and sample use.

Validated against from SLIP-0010 test vectors

https://github.com/satoshilabs/slips/blob/master/slip-0010.md

Changelog

Donation address

Donations will help us maintain and improve this tool and other ones

Nyzo public id:
id__87vo1ihVrKMFD4bSXHU2D4ZRQKzsZpqCAkP8_PML9Ljzru.zFwbi

77970524776adbe8-9842f4e6ad82984e-f3cad89bed86658d-4c48ff1bee26e4e2