You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Anton Kaliaev 4c4bce9469
[mintnet-kubernetes] use `tr -d` as per Frey suggestion
8 years ago
..
Makefile copy mintnet-kubernetes from https://github.com/tendermint/mintnet-kubernetes 8 years ago
README.md [mintnet-kubernetes] use `tr -d` as per Frey suggestion 8 years ago
app.yaml [mintnet-kubernetes] make sure not to read and write the same file in the same pipeline 8 years ago
lightclient.md copy mintnet-kubernetes from https://github.com/tendermint/mintnet-kubernetes 8 years ago

README.md

Basecoin example

This is an example of using basecoin.

Usage

make create

Check account balance and send a transaction

  1. wait until all the pods are Running.

    kubectl get pods -w -o wide -L tm
    
  2. wait until app starts.

    kubectl logs -c app -f tm-0
    
  3. get account's address of the second pod

    ADDR=`kubectl exec -c app tm-1 -- cat /app/key.json | grep "address" | tr -d "\""`
    
  4. send 5 coins to it from the first pod

    kubectl exec -c app tm-0 -- basecoin tx send --to "0x$ADDR" --amount 5
    

Clean up

make destroy