Skip to content

Commit 50d6e66

Browse files
authored
fix versions and update readme (#123)
* fix versions * update readme * semver link
1 parent 6eccc5e commit 50d6e66

File tree

4 files changed

+43
-21
lines changed

4 files changed

+43
-21
lines changed

README.md

Lines changed: 39 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,43 @@
11
# ibc-rs
22

3-
Rust implementation of IBC modules and relayer.
3+
Rust implementation of Interblockchain Communication (IBC)
4+
[modules](/modules) and
5+
[relayer](/relayer).
6+
7+
Includes [TLA+ specifications](/docs/spec).
48

59
## Disclaimer
610

711
THIS PROJECT IS UNDER HEAVY DEVELOPMENT AND IS NOT IN A WORKING STAGE NOW, USE AT YOUR OWN RISK.
812

9-
## Requirements
10-
11-
- Rust 1.42+ (might work on earlier versions but this has not been tested yet)
13+
## Releases
1214

15+
This project is still a pre v0.1.0 prototype. Releases can be found
16+
[here](https://github.com/informalsystems/ibc-rs/releases)
1317

14-
## Relayer usage
18+
## Installation
1519

20+
Requires Rust 1.42+ (might work on earlier versions but this has not been tested yet)
1621

17-
### Requirements
22+
These are instructions for setting up a local development environment with two
23+
IBC-enabled local blockchains that the relayer can run against.
1824

19-
Prerequisites to run the instructions below:
25+
Dependencies:
2026

2127
- `jq`, a command-line JSON processor
22-
- To use and test the present relayer implementation, we first need a Tendermint instance that supports IBC; see more details on setting up a basic instance in the [development environment](#development-environment) part below.
28+
- [`gaia`](https://github.com/cosmos/gaia), a blockchain supporting IBC
2329

30+
Clone the relayer implementation from [iqlusioninc/relayer](https://github.com/iqlusioninc/relayer/).
31+
We are interested in two commands we can run from this repo:
2432

25-
### Instructions
33+
- `bash scripts/two-chainz "local" "skip"`. Running this script will instantiate two chains, listening on ports `26557` and `26657`, respectively.
34+
35+
36+
- `bash dev-env`. Running this script from your local source instantiates two chains, on ports `26557` and `26657`, and starts a relayer that sets up one connection, one channel and sends a few packets over the channel.
37+
38+
Note that these script rely on the [cosmos/gaia](https://github.com/cosmos/gaia) implementation, which is a Cosmos-SDK application for the cosmos hub.
39+
40+
## Running the Relayer
2641

2742
Assuming two Tendermint nodes running on local ports `26557` and `26657`.
2843
Suppose we use the name `chain_A` to refer to the node running on port `26657`, and the name `chain_B` for the node running on port `26557`.
@@ -73,23 +88,30 @@ The `relayer/cli/src/commands.rs` file contains further description of the CLI s
7388

7489
**Note:** Add a `-v` flag to the commands above to see detailed log output, eg. `cargo run --bin relayer -- -v -c ./relayer/relay/tests/config/fixtures/relayer_conf_example.toml run`
7590

91+
## Contributing
7692

77-
### Development environment
78-
79-
To set up a local development environment, clone the relayer implementation from [iqlusioninc/relayer](https://github.com/iqlusioninc/relayer/).
80-
We are interested in two commands we can run from this repo:
93+
IBC is specified in English in the [cosmos/ics repo](https://github.com/cosmos/ics). Any
94+
protocol changes or clarifications should be contributed there.
8195

82-
- `bash scripts/two-chainz "local" "skip"`. Running this script will instantiate two chains, listening on ports `26557` and `26657`, respectively.
96+
This repo contains the TLA+ specification and Rust implementation for the IBC
97+
modules and relayer. If you're interested in contributing, please comment on an issue or open a new
98+
one!
8399
100+
## Versioning
84101
85-
- `bash dev-env`. Running this script script from your local source instantiates two chains, on ports `26557` and `26657`, and starts a relayer that sets up one connection, one channel and sends a few packets over the channel.
102+
We follow [Semantic Versioning](https://semver.org/), but none of the APIs are stable yet. Expect
103+
anything to break with each release until `v0.1.0`.
86104
87-
Note that these script rely on the [cosmos/gaia](https://github.com/cosmos/gaia) implementation, which is a Cosmos-SDK application for the cosmos hub.
105+
## Resources
88106
107+
- [IBC Website](https://cosmos.network/ibc)
108+
- [IBC Specification](https://github.com/cosmos/ics)
109+
- [IBC Modules in Go](https://github.com/cosmos/cosmos-sdk/tree/master/x/ibc)
110+
- [IBC Relayer in Go](https://github.com/iqlusioninc/relayer)
89111
90112
## License
91113
92-
Copyright © 2020 Informal Systems
114+
Copyright © 2020 Informal Systems Inc. and ibc-rs authors.
93115
94116
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
95117

modules/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "relayer-modules"
3-
version = "0.1.0"
3+
version = "0.0.1"
44
edition = "2018"
55
authors = [
66
"Anca Zamfir <[email protected]>",

relayer/cli/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "relayer-cli"
3-
version = "0.1.0"
3+
version = "0.0.1"
44
edition = "2018"
55
authors = [
66
"Anca Zamfir <[email protected]>",
@@ -30,4 +30,4 @@ version = "0.5.2"
3030

3131
[dev-dependencies]
3232
abscissa_core = { version = "0.5.2", features = ["testing"] }
33-
once_cell = "1.2"
33+
once_cell = "1.2"

relayer/relay/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "relayer"
3-
version = "0.1.0"
3+
version = "0.0.1"
44
edition = "2018"
55
authors = [
66
"Anca Zamfir <[email protected]>",

0 commit comments

Comments
 (0)