Tendermint ABCI server, written in the Rust programming language.
- Tendermint 0.32.7
- ABCI 0.16.0
Make sure that you have Rust and Cargo installed. The easiest way is to follow the instructions on rustup.
To test the examples, please clone this repository.
git clone https://github.com/tendermint/rust-abci.git
empty_app example, found under the
examples folder, is a good demonstration/bare minimum foundation for a Rust ABCI app.
To use this library to build your own ABCI apps in Rust you have to include the following in your
[dependencies] abci = "0.6.4"
This crate already contains the compiled ABCI protobuf messages. If you want to update protobuf messages to a newer version of Tendermint. Run
Running the examples
To run either of the example apps you have to have Tendermint installed and initialised (Remember to run
tendermint init!). Please install it according to these instructions. After initializing and configuring the node, Tendermint can be run with:
After the node is online, you can run the
empty_app example using
cargo run --example empty_app.
To run the
cargo run --example counter_app and send transaction to Tendermint via:
curl localhost:26657/broadcast_tx_commit?tx=0x01 curl localhost:26657/broadcast_tx_commit?tx=0x02
Tendermint Compatibility Table
Join the Community
Find us through a variety of channels here.
Code of Conduct
Please read, understand and adhere to our code of conduct.
rust-tsp made by Adrian Brink.