Skip to content

dariuskramer/hd-wallet-c

Repository files navigation

HD-Wallet-C

Dependencies

Build

git submodule init
git submodule update

cd libbase58
./autogen.sh
./configure
make; cd -

cd libsodium
./autogen.sh
./configure
make && make check; cd -

cd secp256k1
./autogen.sh
./configure
make && make check; cd -

make

Usage

echo -ne '\x00\x01\x02\x03\x04\x05\x06\x07\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f' | ./hd-wallet "M/1/2'/3/4'"

# or
./hd-wallet "M/0'/1/2'"

Tests

Use the script:

./test.sh

The test vectors used are from the BIP32 spec.

About

Toy project: BIP-32 implementation in C

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published