github.com/franono/tendermint@v0.32.2-0.20200527150959-749313264ce9/tools/mintnet-kubernetes/examples/basecoin/README.md (about) 1 # Basecoin example 2 3 This is an example of using [basecoin](https://github.com/tendermint/basecoin). 4 5 ## Usage 6 7 ``` 8 make create 9 ``` 10 11 ### Check account balance and send a transaction 12 13 1. wait until all the pods are `Running`. 14 15 ``` 16 kubectl get pods -w -o wide -L tm 17 ``` 18 19 2. wait until app starts. 20 21 ``` 22 kubectl logs -c app -f tm-0 23 ``` 24 25 3. get account's address of the second pod 26 27 ``` 28 ADDR=`kubectl exec -c app tm-1 -- cat /app/key.json | jq ".address" | tr -d "\""` 29 ``` 30 31 4. send 5 coins to it from the first pod 32 33 ``` 34 kubectl exec -c app tm-0 -- basecoin tx send --to "0x$ADDR" --amount 5mycoin --from /app/key.json --chain_id chain-tTH4mi 35 ``` 36 37 38 ## Clean up 39 40 ``` 41 make destroy 42 ```