cardano-addresses
cardano-addresses copied to clipboard
CIP 0105 CLI support
This PR builds on top of the previous one and adds support of CIP 0105 to CLI. In particular the following was added:
- Support of derivation of all varieties of
drep,cc_coldandcc_hotkeys, namely extended signing keys, extended verification key and verification keys.
cardano-address key child 1852H/1815H/0H/5/0 < root.xsk > hot.xsk
cardano-address key public --with-chain-code < hot.xsk > hot.xvk
cardano-address key public --without-chain-code < hot.xsk > hot.vk
- Support of making hash from verification keys (both varieties):
cardano-address key hash < hot.xvk > hot
cardano-address key hash < hot.vk > hot
- Support for using drep
,cc_coldandcc_hot` keys, namely extended verification key and verification keys, and verification key hashes in scripts and producing validation, preimage and hash of the script.
cardano-address script validate "all [$(cat drep),active_from 5001]"
cardano-address script preimage "all [$(cat drep),active_from 5001]"
cardano-address script hash "all [$(cat drep),active_from 5001]"
All produced keys assume bech32 prefixes as specified in CIP-0105.
@angerman ci/* seems to be RED - do you know how to make it work?