Documentation ¶
Overview ¶
query_and_transfer.go
This script queries the MaltCoin token contract in order to return the name and symbol of the token, as well as the balances of two accounts. Finally, it transfers a specified amount of MALT between the accounts.
Usage:
$ go run query_and_transfer.go $CONTRACT_ADDRESS $SENDER_PRIVKEY $RECIPIENT_ADDRESS $AMOUNT
Click to show internal directories.
Click to hide internal directories.