Skip to content

Commit

Permalink
s/blank/mycoin/g
Browse files Browse the repository at this point in the history
  • Loading branch information
jaekwon committed Feb 13, 2017
1 parent 5be9db6 commit 62a61e8
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion cmd/commands/flags.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ var (

CoinFlag = cli.StringFlag{
Name: "coin",
Value: "blank",
Value: "mycoin",
Usage: "Specify a coin denomination",
}

Expand Down
2 changes: 1 addition & 1 deletion data/genesis.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"pub_key": [1, "619D3678599971ED29C7529DDD4DA537B97129893598A17C82E3AC9A8BA95279"],
"coins": [
{
"denom": "blank",
"denom": "mycoin",
"amount": 9007199254740992
}
]
Expand Down
2 changes: 1 addition & 1 deletion demo/data/chain1/basecoin/genesis.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"pub_key": [1, "B3588BDC92015ED3CDB6F57A86379E8C79A7111063610B7E625487C76496F4DF"],
"coins": [
{
"denom": "blank",
"denom": "mycoin",
"amount": 9007199254740992
}
]
Expand Down
2 changes: 1 addition & 1 deletion demo/data/chain2/basecoin/genesis.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"pub_key": [1, "0628C8E6C2D50B15764B443394E06C6A64F3082CE966A2A8C1A55A4D63D0FC5D"],
"coins": [
{
"denom": "blank",
"denom": "mycoin",
"amount": 9007199254740992
}
]
Expand Down
4 changes: 2 additions & 2 deletions docs/guide/example-plugin.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit 62a61e8

Please sign in to comment.