This is a simple implementation of a token using CosmosSDK. It uses the bank and supply module from CosmosSDK and re-exported the balances, total supply and 1 to 1 transfer features to the calvincoin
application.
Golang
make install
./unsafe-reset-all.sh
p.s. Alice and Bob's address has been created for you in ./appcli
.
appd start
To start with, source the environment variables of Alice and Bob addresses:
. ./env.sh
./env_fish.sh
appcli query calvincoin balances $ALICE
appcli query calvincoin balances $BOB
appcli query calvincoin totalsupply
appcli tx calvincoin transfer $BOB 1calvincoin --from alice