Loading...
Loading...
Compare original and translation side by side
OPERATOR SKILL: This skill executes commands including transaction submission. Requires explicit human invocation.
OPERATOR SKILL: 此技能可执行包括交易提交在内的命令。需要明确的人工调用。
cardano-cli-transactionscardano-cli-transactions[ ] Network confirmed: ___________
[ ] Sender address verified
[ ] Recipient address verified (check first/last 8 chars)
[ ] Amount confirmed: ___________ lovelace
[ ] Signing key path confirmed
[ ] UTxO inputs selected[ ] 已确认网络: ___________
[ ] 已验证发送方地址
[ ] 已验证接收方地址(检查首尾8个字符)
[ ] 已确认金额: ___________ lovelace
[ ] 已确认签名密钥路径
[ ] 已选择UTxO输入TX_DIR="tx-$(date +%Y%m%d-%H%M%S)"
mkdir -p "$TX_DIR" && cd "$TX_DIR"TX_DIR="tx-$(date +%Y%m%d-%H%M%S)"
mkdir -p "$TX_DIR" && cd "$TX_DIR"cardano-cli conway query utxo \
--address <sender-addr> \
--testnet-magic 1 \
--out-file utxos.jsoncardano-cli conway query utxo \
--address <sender-addr> \
--testnet-magic 1 \
--out-file utxos.jsoncardano-cli conway query protocol-parameters \
--testnet-magic 1 \
--out-file pparams.jsoncardano-cli conway query protocol-parameters \
--testnet-magic 1 \
--out-file pparams.jsoncardano-cli conway transaction build \
--testnet-magic 1 \
--tx-in <utxo>#<index> \
--tx-out <recipient>+<amount> \
--change-address <sender> \
--out-file tx.unsignedcardano-cli conway transaction build \
--testnet-magic 1 \
--tx-in <utxo>#<index> \
--tx-out <recipient>+<amount> \
--change-address <sender> \
--out-file tx.unsignedecho "=== SIGNING TRANSACTION ==="
echo "Inputs: <utxo>"
echo "Output: <recipient> receives <amount> lovelace"
echo "Change: returns to <sender>"
cardano-cli conway transaction sign \
--tx-file tx.unsigned \
--signing-key-file <payment.skey> \
--testnet-magic 1 \
--out-file tx.signedecho "=== 正在签名交易 ==="
echo "输入: <utxo>"
echo "输出: <recipient> 接收 <amount> lovelace"
echo "找零: 返回至 <sender>"
cardano-cli conway transaction sign \
--tx-file tx.unsigned \
--signing-key-file <payment.skey> \
--testnet-magic 1 \
--out-file tx.signed⚠️ CONFIRM SUBMISSION ⚠️
Network: preprod
Sending: X ADA to addr_test1...
From: addr_test1...
Type 'yes' to submit:cardano-cli conway transaction submit \
--testnet-magic 1 \
--tx-file tx.signed⚠️ 确认提交 ⚠️
网络: preprod
发送: X ADA 至 addr_test1...
来自: addr_test1...
输入'yes'以提交:cardano-cli conway transaction submit \
--testnet-magic 1 \
--tx-file tx.signedundefinedundefinedundefinedundefinedcardano-cli-transactionsshared/PRINCIPLES.mdcardano-cli-transactionsshared/PRINCIPLES.md