s/blank/mycoin/g

This commit is contained in:
Jae Kwon 2017-02-12 22:15:01 -08:00
parent 5be9db68db
commit 62a61e8b7d
5 changed files with 6 additions and 6 deletions

View File

@ -68,7 +68,7 @@ var (
CoinFlag = cli.StringFlag{
Name: "coin",
Value: "blank",
Value: "mycoin",
Usage: "Specify a coin denomination",
}

View File

@ -4,7 +4,7 @@
"pub_key": [1, "619D3678599971ED29C7529DDD4DA537B97129893598A17C82E3AC9A8BA95279"],
"coins": [
{
"denom": "blank",
"denom": "mycoin",
"amount": 9007199254740992
}
]

View File

@ -4,7 +4,7 @@
"pub_key": [1, "B3588BDC92015ED3CDB6F57A86379E8C79A7111063610B7E625487C76496F4DF"],
"coins": [
{
"denom": "blank",
"denom": "mycoin",
"amount": 9007199254740992
}
]

View File

@ -4,7 +4,7 @@
"pub_key": [1, "0628C8E6C2D50B15764B443394E06C6A64F3082CE966A2A8C1A55A4D63D0FC5D"],
"coins": [
{
"denom": "blank",
"denom": "mycoin",
"amount": 9007199254740992
}
]

View File

@ -133,7 +133,7 @@ OPTIONS:
--chain_id value ID of the chain for replay protection (default: "test_chain_id")
--from value Path to a private key to sign the transaction (default: "key.json")
--amount value Amount of coins to send in the transaction (default: 0)
--coin value Specify a coin denomination (default: "blank")
--coin value Specify a coin denomination (default: "mycoin")
--gas value The amount of gas for the transaction (default: 0)
--fee value The transaction fee (default: 0)
--sequence value Sequence number for the account (default: 0)
@ -367,7 +367,7 @@ example-plugin tx send --to 0x1B1BE55F969F54064628A63B9559E7C21C925165 --amount
```
Note the `--coin` and `--chain_id` flags. In the [previous tutorial](basecoin-basics.md),
we didn't need them because we were using the default coin type ("blank") and chain ID ("test_chain_id").
we didn't need them because we were using the default coin type ("mycoin") and chain ID ("test_chain_id").
Now that we're using custom values, we need to specify them explicitly on the command line.
Ok, so that's how we can send a `SendTx` transaction using our `example-plugin` CLI,