soroban-cli icon indicating copy to clipboard operation
soroban-cli copied to clipboard

Add a `tx auth` command

Open ifropc opened this issue 1 year ago • 3 comments
trafficstars

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:

  1. 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 want tx sign to 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 add tx auth <xdr> --sign-with-* command that only sings auths.
  2. --dry-run for signing auths (https://github.com/stellar/stellar-cli/issues/1493) nicely follows in line with ^
  3. 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

ifropc avatar Jul 26 '24 18:07 ifropc

This issue is stale because it has been assigned for 30 days with no activity. It will be closed in 30 days unless the stale label is removed, and the assignee is removed or updated.

github-actions[bot] avatar Dec 04 '24 18:12 github-actions[bot]

This issue is stale because it has been assigned for 30 days with no activity. It will be closed in 30 days unless the stale label is removed, and the assignee is removed or updated.

github-actions[bot] avatar Jan 04 '25 18:01 github-actions[bot]

This issue is stale because it has been assigned for 30 days with no activity. It will be closed in 90 days unless the stale label is removed, and the assignee is removed or updated.

github-actions[bot] avatar Feb 06 '25 18:02 github-actions[bot]