mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-30 02:37:58 +00:00
da8ec3d737fcb72397ad952662ca553cd79ce8ef
subxt-codegen and subxt-cli (#320)
* Bump codegen and cli to 0.2 * Add CLI README.md
subxt ·

A library to submit extrinsics to a substrate node via RPC.
⚠️ Health Warning ⚠️ considered alpha after recent changes, API still subject to change
See https://github.com/paritytech/subxt/issues/309 for an overview of outstanding issues.
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 polkadot-v0.9.10 on your path.
This can be installed from source via cargo:
cargo install --git https://github.com/paritytech/substrate node-cli --tag=polkadot-v0.9.10 --force
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.
License
The entire code within this repository is licensed under the GPLv3. Please contact us if you have questions about the licensing of our products.Description
Languages
Rust
99.8%
Shell
0.2%