Giter Site home page Giter Site logo

ibc-testbed's Introduction

IBC testbed

Preparation

You'll need either wasmd or cudos-noded installed.

You'll need to install supervisor.

You'll need to install ts-relayer.

To use other node binaries, you'll need to do some editing.

Edit etc/env to select which node binary you'll be using.

Using

It probably won't work properly unless you're in the root directory of the repo.

Starting from scratch

Run bin/init.

This wipes out any existing chain data.

Stopping

Run bin/stop.

Starting again

Run bin/start.

Cleaning up

Run bin/destroy.

Other commands

Some commands require source include/env.sh first.

use-chain

use-chain N

address

address ACCOUNT_NAME

make-account

make-account NAME MNEMONIC...

ibc-transfer

ibc-transfer PORT CHANNEL RECIPIENT AMOUNT

wasm-store

wasm-store NAME WASM_FILE

cw20-create

cw20-create TOKEN NAME DECIMALS AMOUNT

Creates a new CW20 token from the cw20_base contract, which must have been stored using wasm-store.

AMOUNT tokens are given to account0.

Operates on the current chain.

e.g.

cw20-create COIN 'CoinCoin' 2 1000000

cw20-balance

cw20-balance TOKEN [ADDRESS]

Shows the balance of the token for the address, or account0 if the address is not given.

Operates on the current chain.

cw20-info

cw20-info TOKEN

cw20-send

cw20-info TOKEN RECIPIENT AMOUNT

cw20-ics20-create

cw20-ics20-create BRIDGE

Creates a CW20-ICS20 bridge. Note it isn't connected to anything.

cw20-ics20-send

cw20-ics20-send BRIDGE TOKEN AMOUNT CHANNEL RECIPIENT

ibc-testbed's People

Contributors

nbaum avatar

Watchers

 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.