Rust implementation of the Inter-Blockchain Communication (IBC) protocol.
This project comprises primarily four crates:
ibccrate defines the main data structures and on-chain logic for the IBC protocol.
ibc-relayercrate provides an implementation of an IBC relayer, as a library.
ibc-relayer-clicrate is a CLI (a wrapper over the
ibc-relayerlibrary), comprising the
ibc-protocrate is a library with Rust types generated from .proto definitions necessary for interacting with Cosmos SDK and its IBC structs.
ibc-telemetrycrate is a library for use in the
hermesCLI, for gathering telemetry data and exposing that in a Prometheus endpoint.
See the table below for more details.
Includes TLA+ specifications.
The crates in this project require the latest stable version of Rust:
The relayer CLI binary, called
hermes, has a comprehensive guide at
IBC is specified in English in the cosmos/ibc repo. Any protocol changes or clarifications should be contributed there.
This repo contains the TLA+ specification and Rust implementation for the IBC modules and relayer. If you're interested in contributing, please comment on an issue or open a new one!
See also CONTRIBUTING.md.
We follow Semantic Versioning, though APIs are still under active development.
Copyright © 2021 Informal Systems Inc. and ibc-rs authors.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use the files in this repository except in compliance with the License. You may obtain a copy of the License at
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.