https://github.com/tangle-network/protocol-cosmos
Webb Protocol implementation in Cosmos.
https://github.com/tangle-network/protocol-cosmos
Last synced: 6 months ago
JSON representation
Webb Protocol implementation in Cosmos.
- Host: GitHub
- URL: https://github.com/tangle-network/protocol-cosmos
- Owner: tangle-network
- License: apache-2.0
- Created: 2021-10-20T12:16:56.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-11-11T22:32:43.000Z (over 4 years ago)
- Last Synced: 2025-03-30T19:17:33.140Z (12 months ago)
- Language: Rust
- Homepage:
- Size: 1.12 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# basecoin-rs
A rudimentary Tendermint ABCI application that implements the following functionality in the form of modules -
* `bank` - keeps track of different accounts' balances and facilitates transactions between those accounts.
* `ibc` - enables support for IBC (clients, connections & channels)
## Requirements
So far this app has been tested with:
* Rust >v1.52.1
* Tendermint v0.34.10
## Usage
### Step 1: Reset your local Tendermint node
```shell
$ tendermint init
$ tendermint unsafe-reset-all
```
### Step 2: Modify Tendermint config
Edit the Tendermint `config.toml` file (default location `~/.tendermint/config/config.toml`) to update the `proxy_app` and P2P `laddr` as follows.
```toml
proxy_app = "tcp://127.0.0.1:26358"
# ...
[p2p]
laddr = "tcp://0.0.0.0:26356"
```
### Step 3: Module specific setup
See the module documentation for more details -
* [Bank module](docs/modules/bank.md)
* [Ibc module](docs/modules/ibc.md)
### Step 4: Run the basecoin app and Tendermint
```shell
# See all supported CLI options
$ cargo run -- --help
tendermint-basecoin 0.1.0
USAGE:
tendermint-basecoin [FLAGS] [OPTIONS]
FLAGS:
--help Prints help information
-q, --quiet Suppress all output logging (overrides --verbose)
-V, --version Prints version information
-v, --verbose Increase output logging verbosity to DEBUG level
OPTIONS:
-g, --grpc-port Bind the gRPC server to this port [default: 9093]
-h, --host Bind the TCP server to this host [default: 127.0.0.1]
-p, --port Bind the TCP server to this port [default: 26658]
-r, --read-buf-size The default server read buffer size, in bytes, for each incoming client
connection [default: 1048576]
# Run the ABCI application (from this repo)
# The -v is to enable trace-level logging
$ cargo run -- -v
# In another terminal
$ tendermint node
```
## UML diagrams

---

---
