Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

New field to add OP_RETURN output #97

Open
pedromvpg opened this issue Apr 9, 2021 · 13 comments
Open

New field to add OP_RETURN output #97

pedromvpg opened this issue Apr 9, 2021 · 13 comments
Labels
enhancement New feature or request long term Non-critical issues which may be addressed in future low Low priority

Comments

@pedromvpg
Copy link

pedromvpg commented Apr 9, 2021

Is there a way to add new field on the "Send" screen to add OP_RETURN output to a transaction?

Screen Shot 2021-04-09 at 11 06 50 AM

@craigraw
Copy link
Collaborator

I'd like to support this, but there isn't space on the Send screen for the area indicated - it's used by the transaction diagram.

This is how Electrum does it - too hacky?

@pedromvpg
Copy link
Author

Could it be a control per output, to pre-populate the "Pay to" field?
Pay "MAX" would have to move to the left but would work because it would couple it with the Amount field.

image

@6102bitcoin 6102bitcoin added the enhancement New feature or request label May 20, 2021
@6102bitcoin
Copy link
Collaborator

Outstanding Action: Identify way of adding OpReturn functionality without compromising UI
Proposed Priority: Low

@6102bitcoin 6102bitcoin added the low Low priority label May 23, 2021
@6102bitcoin 6102bitcoin added the long term Non-critical issues which may be addressed in future label Nov 21, 2021
@inpharmaticist
Copy link

Bump, glad I searched for this. I agree this would be cool, but can't justify any kind of urgency beyond that 😆

@Surenic
Copy link

Surenic commented Apr 19, 2022

It is urgent because I'd like to create a pre-signed transaction with an OP_Return for my son's upcoming birth 🙈😂

I won't have time to create but publish a transaction then.

@d00g
Copy link

d00g commented Dec 14, 2022

Looking for the same. This might help
https://www.cornpharmer.com/adding-op_return-data-using-sparrow-and-embit/

@somoza
Copy link

somoza commented Mar 25, 2023

+1 to this request. The previous link is not working anymore.

@dadofsambonzuki
Copy link

+1

@windsok
Copy link

windsok commented Nov 30, 2023

+1

Also would be good to make OP_RETURN outputs visible in the transaction viewer

@craigraw
Copy link
Collaborator

Also would be good to make OP_RETURN outputs visible in the transaction viewer

They already are.

Fwiw I still haven't heard a good use for this feature request.

@streamofstars
Copy link

Fwiw I still haven't heard a good use for this feature request.

Good use of a feature that allows adding an OP_RETURN message or good use of a specific implementation described in one of the posts in this thread?

@craigraw
Copy link
Collaborator

craigraw commented Feb 9, 2024

Good use of a feature that allows adding an OP_RETURN message or good use of a specific implementation described in one of the posts in this thread?

A good reason for adding arbitrary OP_RETURN messages. Obviously the BIP47 implementation adds OP_RETURNs already for a specific purpose.

@streamofstars
Copy link

A good reason

my reason was to "label" a transaction permanently in the blockchain but I see how this is not necessarily the desirable use case in general, and adding a box for OP_Return would probably lead to unnecessary overuse. On the other hand, it's people's money, so...

It would be nice to have this option, I don't mind if it requires an extra step of checking a box somewhere in the settings or if it is implemented similar way to your electrum example from the second post.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
enhancement New feature or request long term Non-critical issues which may be addressed in future low Low priority
Projects
None yet
Development

No branches or pull requests

10 participants