You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/md/en/docs/reference/command-line-tools/subxt.md
+31-31
Original file line number
Diff line number
Diff line change
@@ -8,8 +8,8 @@ The [`subxt`](https://github.com/paritytech/subxt) library enables you to submit
8
8
Before you use the `subxt` library, you can use the standalone `subxt` command-line interface to download the metadata for the Substrate node you want to use as the target for submitting transactions.
9
9
The `subxt-cli` tool enables you to perform two key tasks that are critical to using the `subxt` library:
10
10
11
-
* You can use the `subxt-cli` tool to download the metadata from any target Substrate node.
12
-
* You can use the `subxt-cli` tool to generate the runtime API code from the metadata from any target Substrate node.
11
+
- You can use the `subxt-cli` tool to download the metadata from any target Substrate node.
12
+
- You can use the `subxt-cli` tool to generate the runtime API code from the metadata from any target Substrate node.
13
13
14
14
You can use the `subxt` library and `subxt-cli` tool for any node that uses metadata v14 and later.
15
15
For examples of how to use the `subxt` library, see the [examples](https://github.com/paritytech/subxt/tree/master/examples/examples) folder.
@@ -21,7 +21,7 @@ To install `subxt-cli`:
21
21
1. Open a terminal shell, if necessary.
22
22
1. Verify that you have the Rust compiler and toolchain, if necessary.
23
23
1. Download the required packages with the following command:
24
-
`cargo install subxt-cli`
24
+
`cargo install subxt-cli`
25
25
26
26
## Basic command usage
27
27
@@ -36,28 +36,28 @@ If the metadata is already provided, it is possible to use the `codegen` subcomm
36
36
37
37
You can use the following optional flags with the `subxt` command.
38
38
39
-
| Flag | Description
40
-
| ------- | -----------
41
-
| -h, --help | Displays usage information.
42
-
| -V, --version | Displays version information.
39
+
| Flag | Description|
40
+
| -------------| ----------------------------- |
41
+
| -h, --help | Displays usage information.|
42
+
| -V, --version | Displays version information.|
43
43
44
44
### Subcommands
45
45
46
46
You can use the following subcommands with the `subxt` command-line interface.
47
47
48
-
| Command | Description
49
-
| ------- | -----------
50
-
| `codegen` | Generates runtime API client code from metadata.
51
-
| `metadata` | Downloads metadata from a Substrate node for use with `subxt` codegen.
0 commit comments