persistenceBridge

module
v0.5.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 17, 2021 License: Apache-2.0

README

persistenceBridge

This project implements an application for the Persistence Bridge Orchestrator that listens to, verifies, transforms and relays transactions between a Cosmos-SDK chain and ethereum.

Talk to us!

Hardware Requirements

  • Minimal
    • 1 GB RAM
    • 25 GB HDD
    • 1.4 GHz CPU
  • Recommended
    • 2 GB RAM
    • 100 GB HDD
    • 2.0 GHz x2 CPU

NOTE: SSDs have limited TBW before non-catastrophic data errors. Running a full node requires a TB+ writes per day, causing rapid deterioration of SSDs over HDDs of comparable quality.

Operating System

  • Linux/Windows/MacOS(x86)
  • Recommended
    • Linux(x86_64)

Installation Steps

Prerequisite: go1.15+ required. ref

Prerequisite: git. ref

Optional requirement: GNU make. ref

  • Clone git repository
git clone https://github.com/persistenceOne/persistenceBridge.git

Note: If running go the latest version (tested on 1.16.3), do export CGO_ENABLED="0" before make install

  • Make the binary
    Might require you to run export CGO_ENABLED="0" before make.
make all

When starting for first time --tmStart --ethStart needs to be always given, after that not adding it will start checking from last checked height + 1

  • Starting the bridge
persistenceBridge init

This generates a config.toml file in $HOME/.persistenceBridge/ with empty and default values. Update this file as per configuration (Telegram configuration is not compulsory).

Add participating validators:

persistenceBridge add [validator_address] [validator_name]

Now when starting for the first time:

persistenceBridge start --tmStart 1 --ethStart 4772131

When starting next time

persistenceBridge start

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL