• This repository has been archived on 11/Mar/2021
  • Stars
    star
    116
  • Rank 303,894 (Top 6 %)
  • Language
    Rust
  • License
    Apache License 2.0
  • Created over 7 years ago
  • Updated over 3 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A rust implementation of the ABCI protocol for tendermint core

🚨 DEPRECATED 🚨

This repo has been deprecated. Development work continues as the "abci" crate of informalsystems/tendermint-rs. Please reference that repository in the future.


Rust ABCI

Tendermint ABCI server, written in the Rust programming language.

Current Version CircleCI

This library implements the ABCI protocol and can be used to write ABCI applications for Tendermint.

Supported Version

  • Tendermint 0.33.6
  • ABCI 0.16.2

Installation

Dependencies

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

The 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 Cargo.toml file.

[dependencies]
abci = "0.7.2"

Development

This crate already contains the compiled ABCI protobuf messages. If you want to update protobuf messages to a newer version of Tendermint. Run make update-proto

Running the examples

Tendermint

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:

tendermint node

After the node is online, you can run the empty_app example using cargo run --example empty_app.

To run the counter_app run 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

For a real life example of an ABCI application you can checkout Cosmos SDK or Ethermint.

Tendermint Compatibility Table

Tendermint Rust-abci
0.33.6 0.7.2
0.33.5 0.7.1
0.33.1 0.7.0
0.32.9 0.6.5
0.31.7 0.5.4

Documentation

Coming soon!

Join the Community

Find us through a variety of channels here.

Code of Conduct

Please read, understand and adhere to our code of conduct.

Credits

Original rust-tsp made by Adrian Brink.

More Repositories

1

tendermint

⟁ Tendermint Core (BFT Consensus) in Go
Go
5,705
star
2

go-amino

Protobuf3 with Interface support - Designed for blockchains (deterministic, upgradeable, fast, and compact)
Go
259
star
3

abci

DEPRECATED: Merged into https://github.com/tendermint/tendermint under `abci`
Go
254
star
4

signatory

Multi-provider digital signature library for Rust
Rust
141
star
5

tmkms

Key Management service for Tendermint Validator nodes
Rust
140
star
6

liquidity

Cosmos SDK Liquidity module
Go
136
star
7

spec

TeX
130
star
8

go-p2p

DEPRECATED (moved to tendermint/tendermint): Golang P2P library
Go
121
star
9

spn

A blockchain to launch blockchains.
Go
112
star
10

awesome

Collection of resources for all things Tendermint
97
star
11

tm-db

Common database interface for various database backends for Tendermint Core and Cosmos SDK
Go
89
star
12

js-abci

Javascript ABCI libraries
JavaScript
87
star
13

yubihsm-rs

Pure Rust client for YubiHSM2 devices
70
star
14

dex-demo

DeX Demo
HTML
48
star
15

clearchain

Cosmos app for clearing and settlements
Go
47
star
16

merkleeyes

DEPRECATED: Merkle-ized data store
Go
46
star
17

tmlibs

DEPRECATED: Merged into https://github.com/tendermint/tendermint under `libs`
Go
45
star
18

basecoin

DEPRECATED: see https://github.com/cosmos/cosmos-sdk
Go
44
star
19

go-crypto

DEPRECATED: Merged into https://github.com/tendermint/tendermint under `crypto`
Go
44
star
20

cns

Chain Name System
Go
39
star
21

tools

DEPRECATED: Merged into https://github.com/tendermint/tendermint under `tools`
Go
38
star
22

faucet

A faucet for cosmos-sdk apps that uses the app binary only
Go
30
star
23

sig

A signing library for Cosmos.
TypeScript
29
star
24

tendermint2

Tendermint2
Go
29
star
25

atom_one

ATOM ONE CONSTITUTION
27
star
26

amino_rs

Rust implementation of Amino
Rust
26
star
27

cosmos-rosetta-gateway

Rosetta Libraries for Cosmos SDK apps
Go
24
star
28

flutter

Dart
23
star
29

fundraising

Go
22
star
30

budget

Budget is a Cosmos SDK module that implements budget functionality.
Go
21
star
31

farming

Farming is a Cosmos SDK module that implements farming functionality
Go
20
star
32

cosmos-ui

UI component library
Vue
18
star
33

testnets

Config files for connecting to testnets
Python
17
star
34

governmint

DEPRECATED: TMSP Governance App
Go
17
star
35

light-client

DEPRECATED: A light client for tendermint, supporting signatures, proofs, and validation (see github.com/tendermint/tendermint/lite)
Go
17
star
36

coding

Shell
14
star
37

interchange

Interchain Exchange Module
TypeScript
14
star
38

basecoin-examples

DEPRECATED: Example code, showing how you can build your own cryptocurrency on top of basecoin
Go
10
star
39

nomnomcoin

DEPRECATED: A TMSP cryptocurrency in NodeJS
JavaScript
9
star
40

ecosystem

Tendermint forks geneology and directory
9
star
41

classic

canonical blockchain infrastructure
Go
8
star
42

dither

Decentralized messaging for all Cosmos blockchains
7
star
43

alpha

Tiny web app to help you form a genesis file
Go
6
star
44

networks

Deploying and testing Tendermint networks
Go
6
star
45

network_testing

DEPRECATED: Benchmarking tendermint networks
Shell
6
star
46

ledger-validator-app

C
5
star
47

fault-tolerance-demo

DEPRECATED: A demo of tendermint's fault tolerance
Shell
4
star
48

homebrew-tendermint

Homebrew Tap for Tendermint, Ethermint, Basecoin and all related projects.
Ruby
4
star
49

images

Shell
4
star
50

docs

Docs deployment
3
star
51

spm

Go
3
star
52

devdoc

Docker environment for development
Makefile
3
star
53

backend

Backend stuff for design
JavaScript
3
star
54

go-amino-x

Go
3
star
55

js-wire

Javascript library for go-wire codec
JavaScript
2
star
56

go-process

DEPRECATED (moved to tendermint/tmlibs): Process libraries for Golang
Go
2
star
57

identity

Identity and authentication for the blockchain. Public domain work.
2
star
58

js-merkleeyes

DEPRECATED: Javascript library for MerkleEyes
JavaScript
1
star
59

go-alert

DEPRECATED (moved to tendermint/tmlibs)
Go
1
star
60

belt

A utility belt for TypeScript + JavaScript.
TypeScript
1
star
61

mintkey

DEPRECATED: Tendermint key management
Go
1
star
62

lunie-ng

Lunie Next Generation
Vue
1
star
63

spm-extras

Additional packages that we can not keep under tendermint/spm because of incompatibilities.
Go
1
star
64

fuzz

Go
1
star
65

homebrew-tap

Homebrew tap for Cosmos
Ruby
1
star
66

go-keys

DEPRECATED (moved to tendermint/go-crypto and tendermint/basecoin): Key manager for tendermint clients
Go
1
star