#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

#13 in #aleph

Download history 5/week @ 2023-12-25 88/week @ 2024-01-08 28/week @ 2024-01-15 56/week @ 2024-01-22 9/week @ 2024-01-29 1/week @ 2024-02-05 6/week @ 2024-02-12 26/week @ 2024-02-19 17/week @ 2024-02-26 26/week @ 2024-03-04 31/week @ 2024-03-11 21/week @ 2024-03-18 16/week @ 2024-03-25 24/week @ 2024-04-01

97 downloads per month

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

~27–41MB
~739K SLoC