-
Notifications
You must be signed in to change notification settings - Fork 72
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 a tx sign
command
#1490
Comments
I also took a look at @willemneal PR (#1406 ), I think we should make some design choices before we commit to the implementation. I totally agree that we can't break a user later on, so we really should be careful about our design choices for new commands. The command above will:
Finally, as far at the sign goes, I think what is currently in PR generally looks good. I'd organize flags like this:
Flags we can add in the first iteration (as it's already implemented), or later on (to separate PRs):
Proposed design gives us flexibility into adding new methods without affecting other methods (e.g. |
Fyi there is also this issue to add signer support directly to other commands. I think this is still important for simple usability such as someone who wants to run commands and always use their hardware device: |
I like the idea expressed above to keep |
I suggest we make the options |
I suggest we keep |
Synced with @willemneal today, I think we are all on the same page for this implementation. A quick recap: For all tx generating commands (any command that has a
For tx generating commands, the following is true:
Future improvements:
User stories:
|
The only open question is: do we want to support Personally, I vote to not add |
I understand the desire of code reuse but in terms of semantics not supporting source account on tx sign makes the most sense. Let's not invest in code deduplication where it sacrifices the UX. |
Currently, there is no command for signing transactions. This issue was created in a follow-up to #1406 to discuss design on
sign
commandThe text was updated successfully, but these errors were encountered: