/premo

BitXHub test tool

Primary LanguageGoApache License 2.0Apache-2.0

Premo

buildGo Report Card

BitXHub interchain transaction testing framework.

Quick Start

Installation

git clone git@github.com:meshplus/premo.git
cd premo
make install

Initialization

premo init

It will create ~/.premo directory on you computer.

Start Premo

premo interchain up --bitxhub_version v1.0.0-rc1 --pier_version v1.0.0-rc1

It will start the following things:

  • a ethereum chain and a fabric chain (both in the form of docker container)
  • a fabric pier and a ethereum pier
  • deploy necessary contracts on fabric (ethererum chain image was already deployed)

Do Bitxhub Testing

make bitxhub-tester

Do Interchain Testing

make interchain-tester

Usage

premo [global options] command [command options] [arguments...]

command

  • init init config home for premo
  • version Premo version
  • test test bitxhub function
  • pier Start or stop the pier
  • bitxhub Start or stop the bitxhub cluster
  • appchain Bring up the appchain network
  • interchain Start or Stop the interchain system
  • status List the status of instantiated components
  • help, h Shows a list of commands or help for one command

global options

  • --repo value Premo storage repo path
  • --help, -h show help (default: false)