Cardano HW CLI tool for signing transaction
Check:
- releases https://github.com/vacuumlabs/cardano-hw-cli/releases
- installation instructions https://github.com/vacuumlabs/cardano-hw-cli/blob/develop/docs/installation.md
For running commands with ledger, you might need to use sudo
cardano-hw-cli shelley address key-gen
--path PATH Derivation path to the key we want to sign with.
--verification-key-file FILE Output filepath of the verification key.
--hw-signing-file FILE Output filepath of the hardware wallet signing file.
cardano-hw-cli shelley key verification-key
--hw-signing-file FILE Input filepath of the hardware wallet signing file.
--verification-key-file FILE Output filepath of the verification key.
cardano-hw-cli shelley transaction sign
--tx-body-file FILE Input filepath of the TxBody.
--hw-signing-file FILE Input filepath of the hardware wallet signing file (one or more).
--change-output-key-file FILE Input filepath of the hardware wallet signing file.
--mainnet | --testnet-magic NATURAL Use the mainnet magic id or specify testnet magic id.
--out-file FILE Output filepath of the Tx.
cardano-hw-cli shelley transaction witness
--tx-body-file FILE Input filepath of the TxBody.
--hw-signing-file FILE Input filepath of the hardware wallet signing file.
--change-output-key-file File Input filepath of the hardware wallet signing file.
--mainnet | --testnet-magic NATURAL Use the mainnet magic id or specify testnet magic id.
--out-file FILE Output filepath of the Tx.
cardano-hw-cli shelley address show
--payment-path PAYMENTPATH Payment derivation path.
--staking-path STAKINGPATH Stake derivation path.
--address-file ADDRESS Input filepath of the address.
cardano-hw-cli version
cardano-hw-cli device version
- https://github.com/vacuumlabs/cardano-hw-cli/blob/develop/docs/delegation-example.md
- https://github.com/vacuumlabs/cardano-hw-cli/blob/develop/docs/transaction-example.md
Install node version v12.16.2
nvm i v12.16.2
Install yarn:
npm install -g yarn
Install dependencies:
yarn install
Run unit test
yarn test-unit
Run application with
yarn dev ...
Install node version v12.16.2
nvm i v12.16.2
Install yarn:
npm install -g yarn
To build all artifacts for each OS run:
yarn build
To target specific artifact, run one of following commands:
yarn build-linux-deb
yarn build-linux-tar
yarn build-windows
yarn build-macos