Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

https://github.com/cosmos/ibc-rs

Rust implementation of the Inter-Blockchain Communication (IBC) protocol.
https://github.com/cosmos/ibc-rs

blockchain cosmos ibc rust tendermint

Last synced: 2 months ago
JSON representation

Rust implementation of the Inter-Blockchain Communication (IBC) protocol.

Lists

README

        


ibc-rs


![banner](docs/static/img/ibc-rs-cover.svg)


[![Cosmos ecosystem][cosmos-shield]][cosmos-link]


[![Docs][docs-image]][docs-link]
[![Build Status][build-image]][build-link]
[![Code Coverage][codecov-image]][codecov-link]
[![Apache 2.0 Licensed][license-image]][license-link]
![Version][crates-io-version]
![Downloads][crates-io-downloads]
![Rust Stable][msrv-image]


Rust implementation of the Inter-Blockchain Communication (IBC) protocol that
hosts all the data structures and on-chain logic implementations of various IBC
core, clients and applications. This repository organized as a collection of
sub-crates that can be used independently or together.

## Project Structure

|

Crate
| Description |
| ------------------------------------- | ----------- |
|[ibc](ibc) | Re-exports all the data structures and on-chain logic of various IBC core, clients and applications. |
|[ibc-data-types](ibc-data-types) | Re-exports all the IBC data types that are shared across different IBC implementations. |
|[ibc-core](ibc-core) | Contains data structures and implementations of all the IBC core specifications. |
|[ibc-clients](ibc-clients) | Contains data structures and implementations of various IBC light clients. |
|[ibc-apps](ibc-apps) | Contains data structures and implementations of various IBC applications. |
|[ibc-testkit](ibc-testkit) | Provides testing toolkit to aid `ibc-rs` and host chains in writing integration tests. |
|[ibc-query](ibc-query) | Contains utility traits and implementations for querying states of an integrated IBC module. |
|[ibc-derive](ibc-derive) | Derive macros for `ClientState` and `ConsensusState` traits, reducing boilerplate. |

## Contributing

IBC is specified in English in the [cosmos/ibc repo][ibc]. Any protocol changes
or clarifications should be contributed there.

If you're interested in contributing, please take a look at the
[CONTRIBUTING](./CONTRIBUTING.md) guidelines. We welcome and appreciate
community contributions!

## Community calls

The IBC-rs community calls are now part of the IBC Core community calls. During
these calls, we update the community on our current direction and gather
feedback on what to work on next. The community calls are also a platform for
you to update everyone else on what you're working on and find opportunities to
collaborate.

Please join the [Google group](https://groups.google.com/g/ibc-community) to
receive a calendar invitation to the monthly meetings.

## Versioning

We follow [Semantic Versioning][semver], though APIs are still under active
development.

## Resources

- [IBC Website][ibc-homepage]
- [IBC Specification][ibc]
- [IBC Go implementation][ibc-go]
- [Protobuf definitions in Rust][ibc-proto-rs]

## License

Copyright © 2022 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

https://www.apache.org/licenses/LICENSE-2.0

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.

[//]: # (badges)
[docs-image]: https://docs.rs/ibc/badge.svg
[docs-link]: https://docs.rs/ibc/
[build-image]: https://github.com/cosmos/ibc-rs/workflows/Rust/badge.svg
[build-link]: https://github.com/cosmos/ibc-rs/actions?query=workflow%3ARust
[codecov-image]: https://codecov.io/gh/cosmos/ibc-rs/branch/main/graph/badge.svg?token=wUm2aLCOu
[codecov-link]: https://codecov.io/gh/cosmos/ibc-rs
[license-image]: https://img.shields.io/crates/l/ibc
[license-link]: https://github.com/cosmos/ibc-rs/blob/main/LICENSE
[crates-io-version]: https://img.shields.io/crates/v/ibc.svg
[crates-io-downloads]: https://img.shields.io/crates/d/ibc.svg
[msrv-image]: https://img.shields.io/crates/msrv/ibc

[//]: # (general links)
[ibc]: https://github.com/cosmos/ibc
[ibc-go]: https://github.com/cosmos/ibc-go
[ibc-proto-rs]: https://github.com/cosmos/ibc-proto-rs
[ibc-homepage]: https://cosmos.network/ibc
[cosmos-link]: https://cosmos.network
[semver]: https://semver.org/
[cosmos-shield]: https://img.shields.io/static/v1?label=&labelColor=1B1E36&color=1B1E36&message=cosmos%20ecosystem&style=for-the-badge&logo=data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlb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