Skip to content

[public] CLI Tool to explore calls/storage/constant parameters

Closed Jun 6, 2023 100% complete

The Vision

Subxt supports runtime things like user submitted parameters to be submitted as transactions and such now. Let's validate and try this out by adding support to the subxt CLI tool to explore a node, and possibly even submit transactions (though I'd treat that as a stretch goal right now).

The Plan

  • Add new commands to the subxt binary eg tx, sto…

The Vision

Subxt supports runtime things like user submitted parameters to be submitted as transactions and such now. Let's validate and try this out by adding support to the subxt CLI tool to explore a node, and possibly even submit transactions (though I'd treat that as a stretch goal right now).

The Plan

  • Add new commands to the subxt binary eg tx, storage, constants.
  • Eg the tx commant takes parameters like subxt tx balances transfer 'Id (12345Db)' 10_000.
  • At each step towards building up such a command, the tool should provide information about what the next value can be, and tell you about the thing you've typed so far (eg subxt tx balances would list the methods available on the balances pallet and perhaps provide docs for it, and subxt tx balances transfer would tell you about the transfer method and the params it needs).

Open Questions

  • We'll have to experiment to see the exact shape that this will take. Clap for instance may make it hard to do it exactly as envisaged above.

This milestone is closed.

No open issues remain. View closed issues or see open milestones in this repository.