protocol.jsonwe 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-inwe use the following syntax:
TxIdis the transaction hash and
TxIxis the index (you found these values in the above step) they will be added like this
TxOutis 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 1097911063identifies the Shelley Testnet. Other testnets will use other numbers, and mainnet uses