bip32

Pure Haskell BIP32 hierarchical deterministic wallets (docs.ppad.tech/bip32).
git clone git://git.ppad.tech/bip32.git
Log | Files | Refs | README | LICENSE

commit 1917afc9f432e2c32c964635ff2348075a675d38
parent d4b9d2f26e19416e1153571e449321ac5d62c939
Author: Jared Tobin <jared@jtobin.io>
Date:   Sat, 21 Jun 2025 15:05:12 +0400

release: v0.2.0

Diffstat:
MCHANGELOG | 7+++++++
Mflake.lock | 24++++++++++++------------
Mppad-bip32.cabal | 4++--
3 files changed, 21 insertions(+), 14 deletions(-)

diff --git a/CHANGELOG b/CHANGELOG @@ -1,5 +1,12 @@ # Changelog +- 0.2.0 (2025-06-21) + * The 'xprv' and 'tprv' functions are now total, returning 'Nothing' when + derivation is impossible. + * The 'XPrv', 'XPub', and 'X' constructors are no longer exported. + Instead, use the 'x{prv,pub}_key' and 'x{prv,pub}_cod' functions to + work with their contents. + - 0.1.1 (2025-02-23) * Haddock improvements and examples. diff --git a/flake.lock b/flake.lock @@ -85,11 +85,11 @@ ] }, "locked": { - "lastModified": 1750335817, - "narHash": "sha256-XReE3NMudmbpWgvMGwvsMt5SO3DkKYFYVLvsh5waDRg=", + "lastModified": 1750500456, + "narHash": "sha256-9N1EzWyT4QknMjRvE+RUjs1klOxvTlU5vRl+mzDKZfE=", "ref": "master", - "rev": "10c667ad8dc7583407fd1545259dc140497e2b17", - "revCount": 27, + "rev": "f40766056e463a82a06eec66d7b08cba1dbcf2d4", + "revCount": 28, "type": "git", "url": "git://git.ppad.tech/base58.git" }, @@ -127,11 +127,11 @@ ] }, "locked": { - "lastModified": 1737297956, - "narHash": "sha256-3/jNY1Qd1dIYUEQSH47xJxvgg5dS6fVFWwxasgcI9OA=", + "lastModified": 1740802952, + "narHash": "sha256-rYWQAzoXmxWQqBA2iPiRkSnb3xDjDt5aq3Fe0UyoS38=", "ref": "master", - "rev": "27a88d0f011578171aee824ef838dfbf60fa6898", - "revCount": 43, + "rev": "567288a1f3a558a69a6ee10a26e44f00310692f9", + "revCount": 51, "type": "git", "url": "git://git.ppad.tech/hmac-drbg.git" }, @@ -216,11 +216,11 @@ ] }, "locked": { - "lastModified": 1750336608, - "narHash": "sha256-hNTKr/dkUjiWkqg0qzCl+hVrY51Xc6lkmC3QnpBs5cg=", + "lastModified": 1750503268, + "narHash": "sha256-DYpCW4dfqLTyV2ACFVH8gzKl1PNYYxcg6xfgT5aWBfg=", "ref": "master", - "rev": "0216aa125e71d3e23f890084bb80345a7cb13e2f", - "revCount": 171, + "rev": "6b6e784010ba5b6ddb938e62a90eccb07bf5a3fb", + "revCount": 173, "type": "git", "url": "git://git.ppad.tech/secp256k1.git" }, diff --git a/ppad-bip32.cabal b/ppad-bip32.cabal @@ -1,6 +1,6 @@ cabal-version: 3.0 name: ppad-bip32 -version: 0.1.1 +version: 0.2.0 synopsis: BIP32 hierarchical deterministic wallets. license: MIT license-file: LICENSE @@ -31,7 +31,7 @@ library , bytestring >= 0.9 && < 0.13 , ppad-base58 >= 0.2 && < 0.3 , ppad-ripemd160 >= 0.1.3 && < 0.2 - , ppad-secp256k1 >= 0.2.2 && < 0.4 + , ppad-secp256k1 >= 0.4 && < 0.5 , ppad-sha256 >= 0.2.3 && < 0.3 , ppad-sha512 >= 0.1.3 && < 0.2