Open enVolt opened 6 years ago
Hi @enVolt,
A needs a fresh UTXO. Either via a new transaction, which funds A explicitly, or as alternative: maybe during the first transaction, there could be some BTC sent back to A to avoid the case in the first place?
Balances on the Omni Layer are associated with scripts/addresses and any UTXO will work, as long. The first transaction input is used to determine the token sender.
Omni Layer payload outputs have the following structure:
OP_RETURN 0x6f6d6e69[actual payload]
0x6f6d6e69 serves as marker.
To construct the payloads manually, you can use the following tool to play around:
Consolidate like "send tokens from many different sources in one transaction"? This is currently not supported.
I'm following this tutorial (from Wiki section of this repo)
I've following questions -
omni_createpayload_simplesend
conversion in Js (probably converting string to a buffer and feeding it to the bitcore/bitcoinjs lib.