premo

package module
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2020 License: Apache-2.0 Imports: 2 Imported by: 0

README

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

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 Testing
make 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)

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// CurrentCommit current git commit hash
	CurrentCommit = ""
	// CurrentBranch current git branch
	CurrentBranch = ""
	// CurrentVersion current project version
	CurrentVersion = "0.0.0"
	// BuildDate compile date
	BuildDate = ""
	// GoVersion system go version
	GoVersion = runtime.Version()
	// Platform info
	Platform = fmt.Sprintf("%s/%s", runtime.GOOS, runtime.GOARCH)
)

Functions

This section is empty.

Types

This section is empty.

Directories

Path Synopsis
cmd
internal
pkg
tester

Jump to

Keyboard shortcuts

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