ed25519-hd
Version, currently 0.1.34 versions
- 0.1.3latestMay 30, 2021
- 0.1.2not indexedMay 30, 2021
- 0.1.1not indexedMay 30, 2021
- 0.1.0not indexedMay 30, 2021
github.com/Axentro/ed25519-hd
HD wallet derivation for Ed25519
3 stars
0 dependents
License: MIT
Installation
# Add this to your shard.yml
dependencies:
ed25519-hd:
github: Axentro/ed25519-hd
version: ~> 0.1.3Then run:
shards installshard.yml
- Crystal
1.0.0- License
- MIT
- Author
- Kingsley Hendrickse
Dependencies
Runtime Dependencies
- monocypher*github: axentro/monocypher.cr
Development Dependencies
- ameba*github: veelenga/amebadev
README
ed25519-hd
This provides SLIP-0010 specification support.
This can be used to generate a master keypair and child public/private keypairs from a secure seed.
It is based on:
- Hierarchical Deterministic Wallets BIP-0032
- Multi-Account Hierarchy for Deterministic Wallets BIP-0044
Installation
-
Add the dependency to your
shard.yml:dependencies: ed25519-hd: github: axentro/ed25519-hd -
Run
shards install
Usage
require "ed25519-hd"
include ED25519::HD
seed = "000102030405060708090a0b0c0d0e0f"
path = "m/0'"
keys = KeyRing.derive_path(path, seed, HARDENED_BITCOIN)
keys.private_key # 68e0fe46dfb67e368c75379acec591dad19df3cde26e63b93a8e704f1dade7a3
keys.chain_code # 8b59aa11380b624e81507a27fedda59fea6d0b779a778918a2fd3590e16e9c69
KeyRing.get_public_key(keys.private_key) # 008c8a13df77a28f3445213a0f432fde644acaa215fc72dcdf300d5efaa85d350c
Contributing
- Fork it (https://github.com/axentro/ed25519-hd/fork)
- Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'Add some feature') - Push to the branch (
git push origin my-new-feature) - Create a new Pull Request
Contributors
- Kingsley Hendrickse - creator and maintainer
Documentation
Built from the current release. The first visit to a release nobody has asked for starts its build.
Links
This release
- Version
0.1.3- Tagged
- May 30, 2021
- Commit
afed4fbffd9b- Crystal
1.0.0- Indexed
- yes
Dependents
No indexed shard depends on this one yet.
Repository
github.com/Axentro/ed25519-hd
Metadata
- Created
- Aug 12, 2026
- Updated
- Aug 14, 2026
- Synced
- Aug 14, 2026
- Versions
- 4