This directory contains the code to start up a local test setup of two chains: gaiad and microtick with all the bank tokens on the gaiad chain initially. You can then fund accounts on the microtick chain using IBC.
-
Start in this directory and make sure the versions of mtm (stargate branch), gaiad and rly (the cosmos relayer) are in your path.
-
You can edit the initial account balances, and settings in the config.tom, app.toml and genesis.json for gaiad and microtick in the corresponding .json files.
-
Run the script "./run". This will setup the chains running from a local directory "./data"
-
If you need to restart the chains, just re-run "./run". It will stop the existing chains and reconfigure / restart. If you need to stop the chains, run "./stop".
-
To move tokens from gaiad to microtick, run
./fund <micro-account> 1000000000uatom
where micro-account is your microtick chain account.
That's it!
Command to run grpcui (browser-based GPRC client) from mtzone root directory:
$ grpcui -proto ./proto/microtick/msg/GRPC.proto -import-path ./vendor/github.com/cosmos/cosmos-sdk/third_party/proto -import-path ./proto -import-path ./vendor/github.com/cosmos/cosmos-sdk/proto -plaintext localhost:9090