payment.addr
to payment2.addr
protocol.json
with:SlotNo
protocol.json
we know that we have 1 slot per second. Lets say that it will take us 10 minutes to build the transaction, and that we want to give it another 10 minutes window to be included in a block. So we need 20 minutes or 1200 slots. So we add 1200 to the current tip: 369215 + 1200 = 370415. So our TTL is 370415--tx-in
we use the following syntax: TxId#TxIx
where TxId
is the transaction hash and TxIx
is the index (you found these values in the above step) they will be added like this 4e3a6e7fdcb0d0efa17bf79c13aed2b4cb9baf37fb1aa2e39553d5bd720c5c99#1
.--tx-out
we use: TxOut+Lovelace
where TxOut
is the hex encoded address followed by the amount in Lovelace
. --tx-out $(cat payment.addr)+0, --ttl, --fees, are all 0 for now. We will revisit these in a later step after we calculate fees and ttl.payment.addr
, and two (2) outputs: The receiving address payment2.addr and an address to send the change back, in this case we use payment.addr. You also need to include the Draft transaction file. Witnesses are _**_number of signing keys used to sign the transaction.--testnet-magic 1097911063
identifies the Shelley Testnet. Other testnets will use other numbers, and mainnet uses --mainnet
instead.)