Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/informalsystems/hermes-sdk
https://github.com/informalsystems/hermes-sdk
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/informalsystems/hermes-sdk
- Owner: informalsystems
- License: apache-2.0
- Created: 2023-09-25T12:35:34.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-04-12T14:06:43.000Z (7 months ago)
- Last Synced: 2024-04-13T22:03:40.573Z (7 months ago)
- Language: Rust
- Size: 19 MB
- Stars: 6
- Watchers: 3
- Forks: 2
- Open Issues: 50
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
- awesome-ccamel - informalsystems/hermes-sdk - (Rust)
README
# Hermes IBC relayer V2
[![Cosmos ecosystem][cosmos-shield]][cosmos-link]
[![Build Status][build-image]][build-link]
[![End to End testing][e2e-image]][e2e-link]
[![Apache 2.0 Licensed][license-image]][license-link]
![Rust Stable][rustc-image]
![Rust 1.70+][rustc-version]Rust implementation of an Inter-Blockchain Communication (IBC) relayer.
This project comprises primarily of 5 crates:
- [`ibc-relayer`][relayer-crate-link] provides an implementation of an IBC relayer, as a _library_.
- [`ibc-relayer-cli`][relayer-cli-crate-link] is a CLI (a wrapper over the `ibc-relayer` library),
comprising the [`hermes`](https://hermes.informal.systems) binary.
- [`ibc-chain-registry`][ibc-chain-registry-crate-link] provides functions to fetch data from
the [chain registry](https://github.com/cosmos/chain-registry) and automatically generate chain
configuration for Hermes.
- [`ibc-telemetry`][ibc-telemetry-crate-link] is a library for use in the Hermes CLI,
for gathering telemetry data and exposing that in a Prometheus endpoint.
- [`ibc-relayer-rest`][ibc-telemetry-crate-link] is a library for use in the Hermes CLI,
for exposing a REST API to inspect the state of the relayer.
- [`ibc-test-framework`][ibc-test-framework-crate-link] provides the infrastructure and framework
for writing end-to-end (E2E) tests that include the spawning of the relayer together with Cosmos full nodes.See the table below for more details.
> ⚠️ The [`ibc`][ibc-rs-repo] and [`ibc-proto`][ibc-proto-rs-repo] crates have been moved to their own repositories.
The repository also includes [TLA+ specifications](docs/spec).
## Status
| Crate name | Type | Version | Docs |
|:-------------:|:------:|:-------------:|:-----:|
| [ibc-relayer-cli](crates/relayer-cli) | bin: [hermes](crates/relayer-cli/) | [![IBC Relayer CLI Crate][relayer-cli-crate-image]][relayer-cli-crate-link] | [![IBC Relayer CLI Docs][relayer-cli-docs-image]][relayer-cli-docs-link] |
| [ibc-relayer](crates/relayer) | lib | [![IBC Relayer Crate][relayer-crate-image]][relayer-crate-link] | [![IBC Relayer Docs][relayer-docs-image]][relayer-docs-link] |
| [ibc-chain-registry](crates/chain-registry) | lib | [![Chain Registry Crate][ibc-chain-registry-crate-image]][ibc-chain-registry-crate-link] | [![Chain Registry Docs][ibc-chain-registry-docs-image]][ibc-chain-registry-docs-link] |
| [ibc-relayer-rest](crates/relayer-rest) | lib | [![IBC Relayer REST Crate][relayer-rest-crate-image]][relayer-rest-crate-link] | [![IBC Relayer REST Docs][relayer-rest-docs-image]][relayer-rest-docs-link] |
| [ibc-telemetry](crates/telemetry) | lib | [![IBC Telemetry Crate][ibc-telemetry-crate-image]][ibc-telemetry-crate-link] | [![IBC Telemetry Docs][ibc-telemetry-docs-image]][ibc-telemetry-docs-link] |
| [ibc-test-framework](./tools/test-framework) | lib | [![IBC Test Framework Crate][ibc-test-framework-crate-image]][ibc-test-framework-crate-link] | [![IBC Test Framework Docs][ibc-test-framework-docs-image]][ibc-test-framework-docs-link] |## Requirements
The crates in this project require Rust `1.70.0`.
## Hermes Guide
We have a comprehensive guide at [hermes.informal.systems](http://hermes.informal.systems).
## Contributing
IBC is specified in English in the [cosmos/ibc repo](https://github.com/cosmos/ibc). 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](./CONTRIBUTING.md).
## Versioning
We follow [Semantic Versioning](https://semver.org/), though APIs are still
under active development.## Resources
- [IBC Website](https://cosmos.network/ibc)
- [IBC Specification](https://github.com/cosmos/ibc)
- [IBC Modules in Go](https://github.com/cosmos/ibc-go)
- [IBC Relayer in Typescript](https://github.com/confio/ts-relayer)
- [IBC Relayer in Go](https://github.com/cosmos/relayer)## License
Copyright © 2023 Informal Systems Inc. and Hermes 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.
[relayer-crate-image]: https://img.shields.io/crates/v/ibc-relayer.svg
[relayer-crate-link]: https://crates.io/crates/ibc-relayer
[relayer-docs-image]: https://docs.rs/ibc-relayer/badge.svg
[relayer-docs-link]: https://docs.rs/ibc-relayer/
[relayer-cli-crate-image]: https://img.shields.io/crates/v/ibc-relayer-cli.svg
[relayer-cli-crate-link]: https://crates.io/crates/ibc-relayer-cli
[relayer-cli-docs-image]: https://docs.rs/ibc-relayer-cli/badge.svg
[relayer-cli-docs-link]: https://docs.rs/ibc-relayer-cli/
[relayer-rest-crate-image]: https://img.shields.io/crates/v/ibc-relayer-rest.svg
[relayer-rest-crate-link]: https://crates.io/crates/ibc-relayer-rest
[relayer-rest-docs-image]: https://docs.rs/ibc-relayer-rest/badge.svg
[relayer-rest-docs-link]: https://docs.rs/ibc-relayer-rest/
[ibc-telemetry-crate-image]: https://img.shields.io/crates/v/ibc-telemetry.svg
[ibc-telemetry-crate-link]: https://crates.io/crates/ibc-telemetry
[ibc-telemetry-docs-image]: https://docs.rs/ibc-telemetry/badge.svg
[ibc-telemetry-docs-link]: https://docs.rs/ibc-telemetry/
[ibc-test-framework-crate-image]: https://img.shields.io/crates/v/ibc-test-framework.svg
[ibc-test-framework-crate-link]: https://crates.io/crates/ibc-test-framework
[ibc-test-framework-docs-image]: https://docs.rs/ibc-test-framework/badge.svg
[ibc-test-framework-docs-link]: https://docs.rs/ibc-test-framework/
[ibc-chain-registry-crate-image]: https://img.shields.io/crates/v/ibc-chain-registry.svg
[ibc-chain-registry-crate-link]: https://crates.io/crates/ibc-chain-registry
[ibc-chain-registry-docs-image]: https://docs.rs/ibc-chain-registry/badge.svg[ibc-chain-registry-docs-link]: https://docs.rs/ibc-chain-registry/
[ibc-rs-repo]: https://github.com/cosmos/ibc-rs
[ibc-proto-rs-repo]: https://github.com/cosmos/ibc-proto-rs[build-image]: https://github.com/informalsystems/hermes/workflows/Rust/badge.svg
[build-link]: https://github.com/informalsystems/hermes/actions?query=workflow%3ARust
[e2e-image]: https://github.com/informalsystems/hermes/workflows/End%20to%20End%20testing/badge.svg
[e2e-link]: https://github.com/informalsystems/hermes/actions?query=workflow%3A%22End+to+End+testing%22
[license-image]: https://img.shields.io/badge/license-Apache_2.0-blue.svg
[license-link]: https://github.com/informalsystems/hermes/blob/master/LICENSE
[rustc-image]: https://img.shields.io/badge/rustc-stable-blue.svg
[rustc-version]: https://img.shields.io/badge/rustc-1.70+-blue.svg
[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,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI0LjMuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IkxheWVyXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4IgoJIHZpZXdCb3g9IjAgMC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