#substrate #api #build #transaction #chain #applications #aleph

nightly aleph_client

This crate provides a Rust application interface for submitting transactions to aleph-node chain

1 stable release

3.0.0 Apr 14, 2023

#12 in #aleph

Apache-2.0

2MB
43K SLoC

API for aleph-node chain.

This crate provides a Rust application interface for submitting transactions to aleph-node chain. Most of the pallets are common to any Substrate chain, but there are some unique to aleph-node, e.g. pallets::elections::ElectionsApi.

Build

Just use cargo build or cargo build --release, depends on your usecase.

Contributions

All contributions are welcome, e.g. adding new API for pallets in aleph-node.

Metadata

aleph-client uses subxt to communicate with a Substrate-based chain which aleph-node is. In order to provide a strong type safety, it uses a manually generated file aleph_zero.rs which refers to top of the main branch in aleph-node repository. See more info here.

Dependencies

~28–40MB
~722K SLoC