Hierarchical Deterministic Key Derivation for the Internet Computer
Keysmith lets you derive cryptographic keys and identifiers for the Internet Computer. Among these identifiers includes an account identifier, which indicates the source or destination of an ICP token transfer. Keysmith does not sign or send messages to the Internet Computer. Hence, Keysmith does not facilitate ICP token transfer, but rather only ICP token custody. For use cases other than custody, such as payments, consider using Keysmith in conjunction with other software, such as the DFINITY Canister SDK.
Download the latest tarball here.
If you want to verify the authenticity of the tarball, then please also download the supplementary SHA256.SIG and SHA256.SUM files, as well as my public key, which you can find here.
Verify the SHA256 checksum of the tarball.
grep "$(openssl dgst -sha256 keysmith-*.tar.gz)" SHA256.SUM
Verify the signature on the tarball.
openssl dgst -verify public.key -signature SHA256.SIG SHA256.SUM
The command above should display the following output.
Verified OK
Extract the executable from the tarball.
tar -f keysmith-*.tar.gz -x
Move the executable to a suitable location.
sudo mv keysmith /usr/local/bin
Below is list of commands and their behavior.
accountprints your account identifier.generategenerates your mnemonic seed.legacy-addressprints your legacy address.principalprints your principal identifier.private-keywrites your private key to a file.public-keyprints your public key.versionprints the version number.x-public-keyprints your extended public key.
Add customize txt filename support. network service
keysmith <command> <filename>
keysmith netservice start
service will start at 127.0.0.1:8081 API document
keysmith netservice -p 8000change portskeysmith <command> -f <filename>