Add a `tx auth` command
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 28/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- rust
- Domain
- blockchain, cli
Research direction
Start by reviewing the existing tx sign command and the auth-related work referenced in PR #1406 and issue #1493. Clarify the scope of tx auth, including signing, dry-run behavior, and auth show output, then define acceptance checks for each proposed subcommand and its signed or unsigned results.
Written by the indexing model from the issue text.
Description
There are some functionalities related to auths that we were considering adding to different commands, but IMO it could get a bit clunky to find those subcommands or flags, instead adding a new command sounds like a more clear user story.
Currently, I can see 2 primarily functionalities that we wanted to add, related to auths:
- Signing auths (originally part of https://github.com/stellar/stellar-cli/pull/1406)
While it makes sense to add a new flag (--auth-only) to sign, moving it to a new command makes more sense it we wanttx signto have the same flags as other transaction signing commands. Moreover, not all transactions may have auth entries inside (in fact, most will not).
As such, we can addtx auth <xdr> --sign-with-*command that only sings auths. --dry-runfor signing auths (https://github.com/stellar/stellar-cli/issues/1493) nicely follows in line with ^auth show <xdr>would be a great subcommand that lists all auths in this transaction, and shows which one is signed, which are not signed
cc @janewang @willemneal @leighmcculloch
- Dominant language
- Rust
- Stars
- 123
- Forks
- 141
- Avg merge
- 2d 21h
- Merged PRs (30d)
- 17
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from stellar/stellar-cli
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
stellar/stellar-cli#2384 · 2 comments ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
stellar/stellar-cli#2347 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 68/100
stellar/stellar-cli#2723 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 72/100
stellar/stellar-cli#2722 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 48/100
stellar/stellar-cli#2703 ·
All issues in stellar/stellar-cli
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
kwakseongjae/auto-hwp#319 ·
-
area:cli bug filter-quality good first issue priority:medium
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
-
Difficulty 1/5 Under an hour Newbie friendliness 72/100
bevyengine/bevy#25861 ·
-
comp-datalake
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
ClickHouse/ClickHouse#121222 ·
-
enhancement remote
Difficulty 2/5 1-3 hours Newbie friendliness 68/100