Giter Club home page Giter Club logo

ibc-relayer's Introduction

IBC-Relayer Ansible Setup

Design Philosophy

  1. Support both hermes and rly
  2. Make config file extensible by DRY principle

Guide

First copy it to your own inventory file so you can customize it to suit your needs:

cp inventory.sample inventory

rly installation

ansible-playbook main_rly_install.yml

Hermes installation

ansible-playbook main_hermes_install.yml

Hermes deployment

Here are two modes to deploy Hermes. For the Scaffolding Mode, you will specify a list of networks in the inventory file. For the Customization Mode, you will maintain your own jinja template.

For both, you will need to specify key_name, memo and a list of target ips in the inventory file. Examples are provided in the sample file.

ansible-playbook main_hermes_config.yml -e "target=mainnet"
ansible-playbook main_hermes_config.yml -e "target=testnet"

Scaffolding Mode

This mode is suitable if you just want to get the relay going quickly among a few networks.

You will fill in the list of networks you want to relay in the mainnet_networks or testnet_networks variables in the inventory file. The scaffolded config file will relay any channels among these networks.

Customization Mode

This mode is suitable when you connect lots of different networks and you want to fine-tune how they connect with each other.

You will leave mainnet_networks or testnet_networks blank in the inventory file. You will customize the mainnet.toml.j2 or testnet.toml.j2 files using our files as the starting point.

ibc-relayer's People

Contributors

polkachuintern avatar dylanschultzie avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.