Anton Kaliaev
f427590622
|
8 years ago | |
---|---|---|
.. | ||
Makefile | copy mintnet-kubernetes from https://github.com/tendermint/mintnet-kubernetes | 8 years ago |
README.md | [mintnet-kubernetes] fix tr command in basecoin readme | 8 years ago |
app.yaml | update basecoin version | 8 years ago |
lightclient.md | [mintnet-kubernetes] upgrade to work with tm 0.10.0 and basecoin 0.5.0 | 8 years ago |
This is an example of using basecoin.
make create
wait until all the pods are Running
.
kubectl get pods -w -o wide -L tm
wait until app starts.
kubectl logs -c app -f tm-0
get account's address of the second pod
ADDR=`kubectl exec -c app tm-1 -- cat /app/key.json | jq ".address" | tr -d "\""`
send 5 coins to it from the first pod
kubectl exec -c app tm-0 -- basecoin tx send --to "0x$ADDR" --amount 5mycoin --from /app/key.json --chain_id chain-tTH4mi
make destroy