subxt ยท
A library to submit extrinsics to a substrate node via RPC.
Usage
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:
Or installed from source via cargo:
Alternatives
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.