MyHush / hush

Hush is a fork of Zcash focused on secure communications
https://myhush.org
Other
67 stars 37 forks source link

Generating custom OP_RETURN data #67

Open leto opened 6 years ago

leto commented 6 years ago

Describe the issue

The createrawtransaction RPC method in Hush does not support a data key to embed data into a raw transaction via OP_RETURN.

This makes it hard/impossible to port a tool such as https://github.com/coinspark/python-OP_RETURN to Hush, since there is no RPC access to raw transactions that gives us what we need.

Can you reliably reproduce the issue?

Yes

If so, please list the steps to reproduce below:

  1. Try to create custom data in a raw transaction
  2. Realize you can't
  3. Win/lose

Expected behaviour

A hush developer should be able to create custom raw transactions with data keys, so as to enable embedding data via OP_RETURN, like http://coinsecrets.org/

Actual behaviour + errors

No way to create custom OP_RETURN data

The version of Hush you were using:

All