All Projects → alepop → ed25519-hd-key

alepop / ed25519-hd-key

Licence: MIT license
🔐 Key Derivation for ed25519

Programming Languages

typescript
32286 projects

Projects that are alternatives of or similar to ed25519-hd-key

ChainWallet
一个以研究技术为目地的基础项目,也只有最基本 Bitcoin、Ethereum 、EOS 相关的加密算法。
Stars: ✭ 26 (-51.85%)
Mutual labels:  ed25519, bip44, bip32
mnemonic-sdk
Mnemonic bip39 bip32 bip44 生成助记词 私钥
Stars: ✭ 25 (-53.7%)
Mutual labels:  bip44, bip32
python-hdwallet
Python-based library for the implementation of a hierarchical deterministic wallet generator for more than 140+ multiple cryptocurrencies.
Stars: ✭ 210 (+288.89%)
Mutual labels:  bip44, bip32
Multy-android
Mobile multy-blockchain wallet client.
Stars: ✭ 17 (-68.52%)
Mutual labels:  bip44, bip32
Multy-IOS
Mobile multy-blockchain wallet client.
Stars: ✭ 25 (-53.7%)
Mutual labels:  bip44, bip32
cashuwallet
Cashu is a cryptocurrency wallet for smartphones. Be your own bank. Accept payments or spend crypto directly from your phone.
Stars: ✭ 35 (-35.19%)
Mutual labels:  bip44, bip32
go-bip44
A Golang implementation of the BIP44 for Hierarchical Deterministic (HD) addresses.
Stars: ✭ 23 (-57.41%)
Mutual labels:  bip44, bip32
Cryptography-Guidelines
Guidance on implementing cryptography as a developer.
Stars: ✭ 15 (-72.22%)
Mutual labels:  crypto, ed25519
bitcoincashj
A library for working with Bitcoin Cash
Stars: ✭ 38 (-29.63%)
Mutual labels:  bip44, bip32
mbedtls-esp8266
Updated and Upgraded mbedTLS library for the ESP8266 (probably ESP32 too)
Stars: ✭ 13 (-75.93%)
Mutual labels:  crypto, ed25519
ethereum-hdwallet
CLI and Node.js library for Ethereum HD Wallet derivations from mnemonic
Stars: ✭ 44 (-18.52%)
Mutual labels:  bip44, bip32
Tweetnacl Js
Port of TweetNaCl cryptographic library to JavaScript
Stars: ✭ 1,176 (+2077.78%)
Mutual labels:  crypto, ed25519
noble-ed25519
Fastest JS implementation of ed25519, x25519 & ristretto255. Independently audited, high-security, 0-dependency EDDSA signatures and ECDH key agreement
Stars: ✭ 220 (+307.41%)
Mutual labels:  crypto, ed25519
Minisign
A dead simple tool to sign files and verify digital signatures.
Stars: ✭ 1,105 (+1946.3%)
Mutual labels:  crypto, ed25519
Nsec
A modern and easy-to-use cryptographic library for .NET Core based on libsodium
Stars: ✭ 217 (+301.85%)
Mutual labels:  crypto, ed25519
ed25519
Dart port of ed25519 from Go Cryptography ed25519
Stars: ✭ 18 (-66.67%)
Mutual labels:  ed25519
btc-address-generator
Bitcoin address generator (bech32, segwit, paper wallets, BIP39 seed, etc.)
Stars: ✭ 80 (+48.15%)
Mutual labels:  bip32
rust-minisign
A pure Rust implementation of the Minisign signature tool.
Stars: ✭ 76 (+40.74%)
Mutual labels:  ed25519
coinget
**deprecated API (no longer works)** The fastest cli 💻 price checker for cryptocurrencies📈
Stars: ✭ 27 (-50%)
Mutual labels:  crypto
Kryptor
A simple, modern, and secure encryption and signing tool that aims to be a better version of age and Minisign.
Stars: ✭ 267 (+394.44%)
Mutual labels:  ed25519

codecov

ed25519 HD Key

Key Derivation for ed25519

SLIP-0010 - Specification

Installation

npm i --save ed25519-hd-key

Usage

example:

const { derivePath, getMasterKeyFromSeed, getPublicKey } = require('ed25519-hd-key')
const hexSeed = 'fffcf9f6f3f0edeae7e4e1dedbd8d5d2cfccc9c6c3c0bdbab7b4b1aeaba8a5a29f9c999693908d8a8784817e7b7875726f6c696663605d5a5754514e4b484542';

const { key, chainCode } = getMasterKeyFromSeed(hexSeed);
console.log(key.toString('hex'))
// => 2b4be7f19ee27bbf30c667b642d5f4aa69fd169872f8fc3059c08ebae2eb19e7
console.log(chainCode.toString('hex'));
// => 90046a93de5380a72b5e45010748567d5ea02bbf6522f979e05c0d8d8ca9fffb

const { key, chainCode} = derivePath("m/0'/2147483647'", hexSeed);

console.log(key.toString('hex'))
// => ea4f5bfe8694d8bb74b7b59404632fd5968b774ed545e810de9c32a4fb4192f4
console.log(chainCode.toString('hex'));
// => 138f0b2551bcafeca6ff2aa88ba8ed0ed8de070841f0c4ef0165df8181eaad7f

console.log(getPublicKey(key).toString('hex'))
// => 005ba3b9ac6e90e83effcd25ac4e58a1365a9e35a3d3ae5eb07b9e4d90bcf7506d

Tests

npm test

References

SLIP-0010

BIP-0032

BIP-0044

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].