-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add options to inscribe straight to an address, and/or send commit change to an address #1512
Conversation
What's the use case for a separate commit change address? If its a desire to control the destination of all change addresses, then we could make it just a
I kind of don't like adding this specific error case, which would then need a test. See my above comment for how we might avoid this.
This is a great change and I'd like to get this in soon, since users have been asking for it and I clearly understand the use-case. Would you mind splitting that out into its own PR?
Unless I'm mistaken about the purpose of commit-change, we might be able to reuse |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I hate the red angry "changes requested flag", but this lets me see what's currently blocked on someone else at a glance. They should really make it blue or something T_T
Also, just looked at the code more carefully, I see you're already reusing the change address fields, but we could make it a vec, to make the code more general. |
Ill go ahead and split out the inscription address change.
I was able to obviate my usecase for specific change addresses over the weekend, so i might shelve that until someone else needs it.
…On Mon, Feb 6, 2023 at 6:02 PM, Casey Rodarmor ***@***.***> wrote:
Also, just looked at the code more carefully, I see you're already reusing the change address fields, but we could make it a vec, to make the code more general.
—
Reply to this email directly, [view it on GitHub](https://github.com/casey/ord/pull/1512#issuecomment-1419904889), or [unsubscribe](https://github.com/notifications/unsubscribe-auth/A3UR6LW2SKAEZ64TQVIRKIDWWF7G7ANCNFSM6AAAAAAUR5PF3E).
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
closing in favor of #1536 |
if you want to make sure that the change from the commit transaction goes to a specific address, you can now provide the
--commit-change
option. Note that if a specific satpoint is being inscribed, we might need two change addresses because the UTXO might need splitting, so passing both the--satpoint
option and the--commit-change
option will throw an error.Also, now you can set the
--inscription_destination
option to set the reveal transaction output to a specific address.I thought making the
change
field that gets passed around an enum was the best way to encapsulate the optionality. Happy for feedback on if there's a different way we want to model this.