10 breaking releases

0.15.0 Mar 22, 2021
0.13.0 Oct 5, 2020
0.11.0 Jul 31, 2020
0.5.0 Mar 25, 2020

#1772 in Magic Beans

Download history 199/week @ 2021-10-02 1106/week @ 2021-10-09 1113/week @ 2021-10-16 711/week @ 2021-10-23 637/week @ 2021-10-30 119/week @ 2021-11-06 107/week @ 2021-11-13 173/week @ 2021-11-20 125/week @ 2021-11-27 83/week @ 2021-12-04 101/week @ 2021-12-11 70/week @ 2021-12-18 26/week @ 2021-12-25 70/week @ 2022-01-01 70/week @ 2022-01-08 208/week @ 2022-01-15

380 downloads per month
Used in less than 10 crates

GPL-3.0 license

4.5K SLoC

subxt · build Latest Version Documentation

A library to submit extrinsics to a substrate node via RPC.


See examples.

Integration Testing

Most tests require a running substrate node to communicate with. This is done by spawning an instance of the substrate node per test. It requires an executable binary substrate at v3.0.0 on your path.

This can be done by downloading the prebuilt binary:

curl "https://releases.parity.io/substrate/x86_64-debian:stretch/v3.0.0/substrate/substrate" --output substrate --location
chmod +x ./substrate
mv substrate ~/.local/bin

Or installed from source via cargo:

cargo install --git https://github.com/paritytech/substrate node-cli --tag=v3.0.0 --force


substrate-api-client provides similar functionality.

Subxt Client

By default the client builder will connect to a full node via rpc. The subxt-client helps embedding a light client directly. It can also be used to embed a full node. This is especially useful for testing and ci.


The entire code within this repository is licensed under the GPLv3. Please contact us if you have questions about the licensing of our products.


~641K SLoC