diff --git a/cmd/commands/flags.go b/cmd/commands/flags.go index 4670ee9fcd..00aae351cd 100644 --- a/cmd/commands/flags.go +++ b/cmd/commands/flags.go @@ -68,7 +68,7 @@ var ( CoinFlag = cli.StringFlag{ Name: "coin", - Value: "blank", + Value: "mycoin", Usage: "Specify a coin denomination", } diff --git a/data/genesis.json b/data/genesis.json index 3a4c177526..2936a0e4d6 100644 --- a/data/genesis.json +++ b/data/genesis.json @@ -4,7 +4,7 @@ "pub_key": [1, "619D3678599971ED29C7529DDD4DA537B97129893598A17C82E3AC9A8BA95279"], "coins": [ { - "denom": "blank", + "denom": "mycoin", "amount": 9007199254740992 } ] diff --git a/demo/data/chain1/basecoin/genesis.json b/demo/data/chain1/basecoin/genesis.json index 717a6345a0..b060121774 100644 --- a/demo/data/chain1/basecoin/genesis.json +++ b/demo/data/chain1/basecoin/genesis.json @@ -4,7 +4,7 @@ "pub_key": [1, "B3588BDC92015ED3CDB6F57A86379E8C79A7111063610B7E625487C76496F4DF"], "coins": [ { - "denom": "blank", + "denom": "mycoin", "amount": 9007199254740992 } ] diff --git a/demo/data/chain2/basecoin/genesis.json b/demo/data/chain2/basecoin/genesis.json index 1dcc0d658f..ca690c2cdb 100644 --- a/demo/data/chain2/basecoin/genesis.json +++ b/demo/data/chain2/basecoin/genesis.json @@ -4,7 +4,7 @@ "pub_key": [1, "0628C8E6C2D50B15764B443394E06C6A64F3082CE966A2A8C1A55A4D63D0FC5D"], "coins": [ { - "denom": "blank", + "denom": "mycoin", "amount": 9007199254740992 } ] diff --git a/docs/guide/example-plugin.md b/docs/guide/example-plugin.md index e8a431ea5a..b08f336fb7 100644 --- a/docs/guide/example-plugin.md +++ b/docs/guide/example-plugin.md @@ -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,