Open wupeaking opened 6 years ago
Hi @wupeaking,
you can manually add multiple OP_RETRURN outputs with the raw transaction RPC omni_createrawtx_opreturn (see a walkthrough with example here).
But: these transactions won't be relayed or mined by other peers, because only on OP_RETURN per transaction is considered "standard" by the rest of the network.
Dexx has a Send to Many tx in the roadmap, we're all looking forward to being able to use that.
The design there, is to insert payload referring to more outputs in the same OP_Return.
This is correct. There are a few ideas to add this to Omni Layer.
One idea is documented here: https://gist.github.com/dexX7/ba45d52d8edd084357253d93360e1519
This is correct. There are a few ideas to add this to Omni Layer.
One idea is documented here: https://gist.github.com/dexX7/ba45d52d8edd084357253d93360e1519
How to create a transaction by this way? can it specify recipients address?
In a bitcoin's transaction, Whether it can contain more than one OP_RETURN, it is beneficial to generate multiple omni transactions in one transaction. I think it can improve transaction efficiency. @dexX7