You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sign the transaction with the signing key `payment.skey` and save the signed transaction in `tx.signed`:
177
177
178
178
``` sh
179
-
cardano-cli latest transaction sign \
179
+
cardano-cli conway transaction sign \
180
180
--tx-body-file tx.raw \
181
181
--signing-key-file payment.skey \
182
182
--mainnet \
@@ -194,7 +194,7 @@ Reattach your transfer memory stick back to the Internet connected computer, the
194
194
Log into your Cardano node (or prepare Daedalus if using its node) and execute:
195
195
196
196
``` sh
197
-
cardano-cli latest transaction submit \
197
+
cardano-cli conway transaction submit \
198
198
--tx-file tx.signed \
199
199
--mainnet
200
200
```
@@ -203,20 +203,20 @@ Then check for a successful transaction by whatever means you prefer, e.g. a [Ca
203
203
204
204
## FAQ
205
205
206
-
### Why can't I use `cardano-cli latest transaction build`?
206
+
### Why can't I use `cardano-cli conway transaction build`?
207
207
208
208
This is a convenient command to avoid the ["change" (return UTxO) calculation](#calculate-the-change-to-send-back-to-paymentaddr) which requires you to prepare a test transaction, estimate fees, and calculate a final value of the funds to be moved. Instead, `transaction build` sends back "change" to a designated address.
209
209
210
210
Some consider this so much easier to use that ***all*** transactions should be performed with this command, as discussed here:
211
211
212
-
- [Please use `cardano-cli latest transaction build` instead of `cardano-cli latest transaction build-raw`](https://forum.cardano.org/t/please-use-cardano-cli-transaction-build-instead-of-cardano-cli-transaction-build-raw/94919)
212
+
- [Please use `cardano-cli conway transaction build` instead of `cardano-cli conway transaction build-raw`](https://forum.cardano.org/t/please-use-cardano-cli-transaction-build-instead-of-cardano-cli-transaction-build-raw/94919)
213
213
214
214
However, this discussion revealed the undocumented condition that `transaction build` can only be done on a **live** Cardano node. The community in general doesn't know the reasons for this (with some speculation in the thread above), so in the meantime:
215
215
216
216
- Using `transaction build` would require, in addition to accumulating the UTxO and balance information from your live Cardano node or network environment to build your transaction, that you also run the `build` command in the networked environment as well and save the unsigned transaction file on your transfer media.
217
217
- This transaction file would then need to be copied from the live environment to the air gap environment, where it would be signed... but in a security paranoid environment the user could never be sure the transaction was not built or modified maliciously outside the air gap.
218
218
219
-
Therefore this guide suggests *only* assembling transaction *details* outside the air gap, to be applied to `cardano-cli latest transaction build-raw` inside the air gap, because there is not much more convenience overall in using `transaction build` while perhaps introducing some security risk.
219
+
Therefore this guide suggests *only* assembling transaction *details* outside the air gap, to be applied to `cardano-cli conway transaction build-raw` inside the air gap, because there is not much more convenience overall in using `transaction build` while perhaps introducing some security risk.
0 commit comments