Skip to content

Commit

Permalink
Merge pull request #245 from kidinamoto01/hotfix/0.4.1
Browse files Browse the repository at this point in the history
IRISTNET-126:add iris-atto
  • Loading branch information
zhangyelong committed Sep 18, 2018
2 parents 7af6637 + d1cb15d commit f030247
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions docs/get-started/Validator-Node.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,16 +74,16 @@ Next, use the output as `<pubkey>` field for `iriscli stake create-validator` c
```
iriscli stake create-validator --amount=<amount>iris --pubkey=<pubkey> --address-validator=<val_addr> --moniker=<moniker> --chain-id=game-of-genesis --name=<key_name> --node=http://localhost:26657
```
Please note the **amount** needs to be the **minimium unit** of IRIS.
Please note the **amount** needs to be the **minimium unit** of IRIS token: `iris-atto`.

1 IRIS=10^18iris
1 IRIS=10^18 iris-atto

In this way, to stake 1IRIS, you need to do:

```
iriscli stake create-validator --pubkey=pubkey --address-validator=account --fee=40000000000000000iris --gas=2000000 --from=<name> --chain-id=fuxi-3000 --node=tcp://localhost:26657 --amount=1000000000000000000iris
```
Don't forget the `fee` and `gas` field. To read more about fees in IRISHub, you should read [this](/modules/fee-token/feeToken.md)
Don't forget the `fee` and `gas` field. In this version of IRIHub, all the `unit` for `amount` and `field` correspond to `iris-atto`,but it's shown as `iris`. To read more about coin-type in IRISHub, you should read [this](../zh/modules/coin/README.md)

### View Validator Info

Expand Down
6 changes: 3 additions & 3 deletions docs/zh/get-started/Validator-Node.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,17 +72,17 @@ fvp1zcjduepqv7z2kgussh7ufe8e0prupwcm7l9jcn2fp90yeupaszmqjk73rjxq8yzw85
```
iriscli stake create-validator --amount=<amount>iris --pubkey=<pubkey> --address-validator=<val_addr> --moniker=<moniker> --chain-id=game-of-genesis --name=<key_name> --node=http://localhost:26657
```
> 注意**amount**字段需要使用最小单位iris准化比例为
> 注意**amount** **Fee** 字段需要使用最小单位 `iris-atto` 准化比例为

1 IRIS=10^18iris
1 IRIS=10^18 iris-atto

也就是说如果你想要抵押1IRIS,你可以执行以下操作

```
iriscli stake create-validator --pubkey=pubkey --address-validator=account --fee=40000000000000000iris --gas=2000000 --from=<name> --chain-id=fuxi-3000 --node=tcp://localhost:26657 --amount=1000000000000000000iris
```

请记得在命令中注明`fee` `gas`字段请在以下[文档](../modules/fee-token/Fee.md) 了解更多
请记得在命令中注明`fee` `gas`字段`fee``amount`的单位为`iris-atto`,但是在命令中为了方便写成`iris`请在以下[文档](../modules/coin/README.md) 了解更多有关代币单位的内容

### 查询验证人信息

Expand Down

0 comments on commit f030247

Please sign in to comment.