Plutus script invocation Tx cannot be signed
Closed this issue · 5 comments
tdiesler commented
Node version: 1.30.1
$ cardano-cli transaction build
--mainnet
--alonzo-era
--tx-in 43352c5f29ec734822372329c50a80086d97a8dee4a4e2d539e361c261023ea7#2
--tx-in 43352c5f29ec734822372329c50a80086d97a8dee4a4e2d539e361c261023ea7#1
--tx-in-script-file /var/cardano/local/mainnet/scripts/swaptokens.plutus
--tx-in-datum-file /var/cardano/local/scratch/script-datum296.json
--tx-in-redeemer-value 1
--tx-out addr1v98rszryzmvut0rw7enmxcn9lam9n7fmpcshhfzk68dltlshfj3uf+1700000+10 3f997b68b1f491c7c2f10af4e2bf9566c5d25bd61df0343065d4fe1c.Astor296
--tx-in-collateral 6f742942a254cc9827462a2143ed984e773e425c5b334683d80b35fb0dde1ea8#0
--change-address addr1v98rszryzmvut0rw7enmxcn9lam9n7fmpcshhfzk68dltlshfj3uf
--protocol-params-file /var/cardano/local/scratch/protocol.json
--out-file /var/cardano/local/scratch/tx.raw
$ cardano-hw-cli transaction witness \
> --mainnet \
> --tx-body-file ~/cardano/scratch/tx.raw \
> --hw-signing-file ~/cardano/mainnet/keys/pool/payment.hwsfile \
> --out-file ~/cardano/scratch/pool.witness
Error: Invalid file contents of tx-body-file
gitmachtl commented
cardano-hw-cli / cardano-app is currently not compatible with alonzo-era tx-body formats.
KubqoA commented
Alonzo support is currently in development. I will ping you when we have a compatible app and cardano-hw-cli ready.
tdiesler commented
merci
davidmisiak commented
Ledger app v4.0.0 with Alonzo support has been released. Here is the accompanying hw-cli release: https://github.com/vacuumlabs/cardano-hw-cli/releases/tag/v1.10.0
Should there be any trouble, feel free to open a new issue.