Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge docs to develop #650

Merged
merged 137 commits into from
Nov 18, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
137 commits
Select commit Hold shift + click to select a range
1f1f253
IRISHUB-537:edit install
kidinamoto01 Nov 7, 2018
f0743f9
IRISHUB-537:edit install
kidinamoto01 Nov 7, 2018
cdd77f7
IRISHUB-537:edit install
kidinamoto01 Nov 8, 2018
82a6574
IRISHUB-537:edit install
kidinamoto01 Nov 8, 2018
023892d
IRISHUB-537:edit install
kidinamoto01 Nov 8, 2018
ef59d39
Merge pull request #534 from kidinamoto01/master
wukongcheng Nov 8, 2018
ac2fb8e
IRISHUB-537:edit version
kidinamoto01 Nov 8, 2018
0af5f9d
Merge pull request #539 from kidinamoto01/master
Nov 8, 2018
00f5e1f
Refactor docs
zhangyelong Nov 11, 2018
c211e8e
Move keys docs to cli-client
zhangyelong Nov 11, 2018
0f203d6
Merge pull request #560 from zhangyelong/feature/docs
zhangyelong Nov 11, 2018
9031910
Correct command for compile irishub
Nov 12, 2018
c53b824
Update English doc for record module
yunkunrao Nov 13, 2018
d0c865e
Refresh English doc for record module
yunkunrao Nov 13, 2018
29b0298
Merge pull request #593 from wancloud-cosmos/yunkun-docs
Nov 14, 2018
8bbcbad
CI Test
zhangyelong Nov 14, 2018
45aa847
DEVOPS-281 CI Test
zhangyelong Nov 14, 2018
deda227
Rename docs/modules/record -> docs/cli-client/record
yunkunrao Nov 14, 2018
1a4e510
Update Chinese doc for record module
yunkunrao Nov 14, 2018
d772a1d
Recover docs/modules/record/README.md
yunkunrao Nov 14, 2018
f1bce19
Merge branch 'origin/feature/docs' into yunkun-docs
yunkunrao Nov 14, 2018
4f3e24a
IRISHUB-676:doc of IRIS Monitor
Nov 15, 2018
f55a660
Update record doc
yunkunrao Nov 15, 2018
0ff0102
IRISHUB-676:doc of IRIS Monitor
Nov 15, 2018
3cdad78
IRISHUB-676:update doc of IRIS Monitor
Nov 15, 2018
f01b97d
IRISHUB-676:update doc of IRIS Monitor again
Nov 15, 2018
763b609
Update docs/modules/record/README.md
yunkunrao Nov 15, 2018
2996ec1
Refactor the irisnet docs
MrXJC Nov 15, 2018
1473e9f
Merge pull request #607 from wancloud-cosmos/yunkun-docs
Nov 15, 2018
53067b8
Merge branch 'feature/docs' of https://github.com/irisnet/irishub int…
MrXJC Nov 15, 2018
9d9a570
Move modules/record to Features/record
MrXJC Nov 15, 2018
f097e72
Refactor irisnet docs -zh
MrXJC Nov 15, 2018
a3d0ef3
Merge pull request #612 from MrXJC/jiacheng/docs
Nov 15, 2018
d26b3e6
Add docs for distribution and mint
Nov 15, 2018
91fa473
WIP : Add English stake doc
yunkunrao Nov 15, 2018
d39b366
Merge branch 'feature/docs' of https://github.com/irisnet/irishub int…
Nov 15, 2018
d0990c0
revert config.js
Nov 15, 2018
20f00aa
Merge pull request #609 from kaifei-bianjie/feature/docs
Nov 15, 2018
d5e6495
Add lcd docs
Nov 15, 2018
745ce3c
keys module docs
trevorfu Nov 15, 2018
f0cefe1
gov module docs
trevorfu Nov 15, 2018
07cb064
keys module docs
trevorfu Nov 16, 2018
a403727
IDEA conf ignore
trevorfu Nov 16, 2018
cc65133
removed intro dirs
Nov 16, 2018
7c09bed
Update irislcd docs
Nov 16, 2018
a5a7bde
Add English doc for stake module.
yunkunrao Nov 16, 2018
a8a855b
Merge branch 'origin/feature/docs' into yunkun-docs
yunkunrao Nov 16, 2018
dc03e27
gov module docs
trevorfu Nov 16, 2018
56f4613
Move software/basic_concepts to features
MrXJC Nov 16, 2018
32757ba
Move software/basic_concepts to features -zh
MrXJC Nov 16, 2018
7cd04ba
Merge pull request #624 from MrXJC/jiacheng/docs
Nov 16, 2018
d0b9dd6
gov module docs - about deposit
trevorfu Nov 16, 2018
5938c17
Add distribution feature docs
Nov 16, 2018
079fb57
gov module docs - about votes
trevorfu Nov 16, 2018
277c7be
Update English stake docs
yunkunrao Nov 16, 2018
d3c7746
Add Chinese docs for distribution
Nov 16, 2018
966fb21
Add doc for status subcmd
yunkunrao Nov 16, 2018
a849538
gov module docs - about votes
trevorfu Nov 16, 2018
e23a3e3
Add Chinese docs for lcd
Nov 16, 2018
3e757b0
Update description of --help
zhangyelong Nov 16, 2018
f809cb4
Update description of --help
zhangyelong Nov 16, 2018
ee2aec4
updated version
harrietcao Nov 16, 2018
31a8c27
Update description of --help
zhangyelong Nov 16, 2018
c363a52
Update description of --help
zhangyelong Nov 16, 2018
4a781a4
updated with new version
harrietcao Nov 16, 2018
4d85687
Update description of --help
zhangyelong Nov 16, 2018
e9e5875
Update description of --help
zhangyelong Nov 16, 2018
9229bdc
Merge pull request #620 from trevorfu/docs_keys
zhangyelong Nov 16, 2018
63ed12f
IRISHUB-679:Add resources & get started
kidinamoto01 Nov 16, 2018
58a4d77
IRISHUB-679:Add resources & get started
kidinamoto01 Nov 16, 2018
1011bb9
IRISHUB-679:Add resources & get started
kidinamoto01 Nov 16, 2018
f60ad17
add chinese gov docs
trevorfu Nov 16, 2018
9a96d2d
IRISHUB-677: client doc of service
chengwenxi Nov 16, 2018
fed2248
add chinese gov docs
trevorfu Nov 16, 2018
70a4e08
Merge remote-tracking branch 'origin/docs_keys' into docs_keys
trevorfu Nov 16, 2018
b5af11c
fix gov doc's problem commented by yelong
trevorfu Nov 16, 2018
e6fb8cf
fix keys doc's problem commented by yelong
trevorfu Nov 16, 2018
2cc7f6f
Update stake English docs
yunkunrao Nov 16, 2018
16fa61d
Add stake Chinese docs
yunkunrao Nov 16, 2018
4f58829
Merge branch 'origin/feature/docs' into yunkun-docs
yunkunrao Nov 16, 2018
8a0516c
modify chinese description
trevorfu Nov 16, 2018
48b0237
modify chinese description
trevorfu Nov 16, 2018
a58faee
Merge pull request #621 from trevorfu/docs_gov
zhangyelong Nov 16, 2018
7887b26
Merge pull request #631 from trevorfu/docs_keys
zhangyelong Nov 16, 2018
c016ff5
Merge pull request #627 from chengwenxi/feature/docs
zhangyelong Nov 16, 2018
a763e93
add chinese docs for lcd and mint
Nov 16, 2018
45d725f
Add chinese docs for distribution
Nov 16, 2018
d50b249
Finish the upgrade EN
MrXJC Nov 16, 2018
4e23e40
Finish the upgrade ZH
MrXJC Nov 16, 2018
900c077
Finish the Feature/gov
MrXJC Nov 16, 2018
77ae0cb
Finish the Bech32
MrXJC Nov 16, 2018
c9f75a0
Finish the genesis
MrXJC Nov 16, 2018
86b1627
Finish the gov params
MrXJC Nov 16, 2018
bbc9696
Finish the Bech32 EN
MrXJC Nov 16, 2018
938a356
Merge pull request #616 from wancloud-cosmos/yunkun-docs
Nov 17, 2018
65db7b8
Merge pull request #625 from wancloud-cosmos/yunkun-docs-status
Nov 17, 2018
75cdf3a
Merge pull request #615 from HaoyangLiu/haoyang/docs
Nov 17, 2018
26e2cc7
Move all global flags to cli-client/README.md, and refactor stake and…
Nov 17, 2018
008f43a
Refactor Chinese docs for distribution
Nov 17, 2018
f0ddfe3
Reactor Chinese docs for stake
Nov 17, 2018
6b53911
Improve docs for distribution cli-client
Nov 17, 2018
8cddde9
Correct some spell error and grammar error
Nov 17, 2018
6f0ba71
Merge pull request #633 from HaoyangLiu/haoyang/docs
Nov 17, 2018
74c7ec4
Correct spell error depositer to depositor
Nov 17, 2018
c789514
IRISHUB-677: update doc of service feature
chengwenxi Nov 17, 2018
7a3bdad
Merge remote-tracking branch 'upstream/feature/docs' into feature/docs
chengwenxi Nov 17, 2018
fab31a2
Merge with develop
Nov 17, 2018
525adaa
Merge pull request #635 from HaoyangLiu/haoyang/docs
Nov 17, 2018
3b2ffe3
IRISHUB-677: remove global flags
chengwenxi Nov 17, 2018
9212c72
Merge pull request #634 from chengwenxi/feature/docs
Nov 17, 2018
d38f6b4
Merge pull request #636 from HaoyangLiu/haoyang/docs-develop
Nov 17, 2018
97cd807
Merge pull request #628 from kidinamoto01/feature/docs
Nov 17, 2018
080f5cf
Refactor docs for stake query interface
Nov 17, 2018
97f6769
Merge pull request #637 from HaoyangLiu/haoyang/docs
Nov 17, 2018
5ed67c9
Finish the features/gov ZH
MrXJC Nov 17, 2018
ac6106f
Update description begin with a capital letter
zhangyelong Nov 17, 2018
8a6cc71
Merge pull request #643 from irisnet/zhangyelong-patch-1
zhangyelong Nov 17, 2018
d8fb16c
Update description begin with a capital letter
zhangyelong Nov 17, 2018
7ea9a98
Fix some problems
trevorfu Nov 17, 2018
24e5a10
Merge branch 'feature/docs' of https://github.com/irisnet/irishub int…
MrXJC Nov 17, 2018
531dc3d
Complete the cli-client readme.md
MrXJC Nov 17, 2018
950ad46
Fix the comment
MrXJC Nov 17, 2018
5c782c8
IRISHUB-677: zh user guide for bank
chengwenxi Nov 17, 2018
d64e84f
IRISHUB-677: en user guide for bank
chengwenxi Nov 18, 2018
4ca9654
Update guide
chengwenxi Nov 18, 2018
425a6c2
Update guide
chengwenxi Nov 18, 2018
59d07c2
Merge pull request #648 from chengwenxi/feature/docs
Nov 18, 2018
88a8d5c
Modify the gov cliclient
MrXJC Nov 18, 2018
b5e7637
Modify the upgrade cli-client
MrXJC Nov 18, 2018
1555e78
Merge pull request #645 from trevorfu/docs_gov
Nov 18, 2018
6a6b628
Merge pull request #632 from MrXJC/jiacheng/docs
Nov 18, 2018
70ac52e
Add docs of stake
Nov 18, 2018
1ed5673
Remove useless flags
Nov 18, 2018
e4ae8b8
Correct some errors
Nov 18, 2018
879069e
Merge pull request #649 from HaoyangLiu/haoyang/docs
Nov 18, 2018
e5c4410
Remove useless change on .gitignore
Nov 18, 2018
c2b8303
Merge pull request #651 from HaoyangLiu/haoyang/docs
Nov 18, 2018
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
239 changes: 185 additions & 54 deletions docs/.vuepress/config.js
Original file line number Diff line number Diff line change
@@ -1,55 +1,186 @@
module.exports = {
title: 'IRISnet Document',
description: '',
base: "/docs/",
themeConfig: {
displayAllHeaders: false,
nav: [
{ text: 'Back to IRISnet', link: 'https://www.irisnet.org' }
],
sidebar: [
{
title: 'Introduction',
collapsable: false,
children: [
['/introduction/Whitepaper.md', 'Whitepaper - English'],
['/introduction/Whitepaper_CN.md', 'Whitepaper - 中文']
]
},{
title: 'Getting Started',
collapsable: false,
children: [
['/get-started/', 'Join the Testnet'],
['/get-started/Install-Iris.md', 'Install'],
['/get-started/Full-Node.md', 'Run a Full Node'],
['/get-started/Validator-Node.md', 'Run a Validator Node'],
['/get-started/Genesis-Generation-Process.md', 'Genesis Generation'],
['/get-started/Bech32-on-IRISnet.md', 'Bech32 on IRISnet'],
]
},{
title: 'Modules',
collapsable: false,
children: [
// ['/modules/coin/README.md', 'Coin Type'],
['/modules/fee-token/', 'Fee Token']
// ['/modules/gov/README.md', 'Governance']
]
},{
title: 'Tools',
collapsable: false,
children: [
['/tools/Deploy-IRIS-Monitor.md', 'Monitor']
]
},{
title: 'Validators',
collapsable: false,
children: [
['/validators/', 'Overview'],
['/validators/Setup-Sentry-Node.md', 'Sentry Node'],
['/validators/How-to-participate-in-onchain-governance.md', 'Onchain Governance'],
['/validators/FAQ.md', 'FAQ']
]
}
]
}
}
title: 'IRISnet Document',
description: '',
base: "/docs/",
themeConfig: {
displayAllHeaders: false,
nav: [
{text: 'Back to IRISnet', link: 'https://www.irisnet.org'},
{text: 'Introduction', link: '/introduction/'},
{text: 'Software', link: '/software/'},
{text: 'Getting Started', link: '/get-started/'},
{text: 'Features', link: '/features/'},
{text: 'CLI Client', link: '/cli-client/'},
{text: 'Light Client', link: '/light-client/'},
{text: 'Resources', link: '/resources/'},
],
sidebar: {
'/introduction/': [{
title: 'The IRIS Hub',
collapsable: false,
children: [
'The-IRIS-Hub/Proof-of-Stake.md',
'The-IRIS-Hub/IRIS-Tokens.md',
'The-IRIS-Hub/Validators.md',
'The-IRIS-Hub/Delegators.md'
]
},
{
title: 'The IRIS Service',
collapsable: false,
children: [
'The-IRIS-Service/Lifecycle.md',
'The-IRIS-Service/Providers.md',
'The-IRIS-Service/Consumers.md',
]
},
{
title: 'The IRIS Network',
collapsable: false,
children: [
'The-IRIS-Network/'
]
}],
'/software/': [
{
title: 'Node',
collapsable: false,
children: [
['node.md', 'Node']
]
}, {
title: 'CLI Client',
collapsable: false,
children: [
['cli-client.md', 'CLI Client']
]
}, {
title: 'Light Client',
collapsable: false,
children: [
['light-client.md', 'Light Client']
]
}, {
title: 'Monitor',
collapsable: false,
children: [
['monitor.md', 'Monitor']
]
}],
'/get-started/': [{
title: 'Getting Started',
collapsable: false,
children: [
['Download-Rainbow.md', 'Download Rainbow'],
['Install-the-Software.md', 'Install the Software'],
['Join-the-Testnet.md', 'Join the Testnet']
]
}],
'/features/': [{
title: 'Basic Concepts',
collapsable: false,
children: [
["basic-concepts/coin-type.md", 'Coin Type'],
["basic-concepts/fee.md", 'Fee'],
["basic-concepts/inflation.md", 'Infation'],
["basic-concepts/bech32-prefix.md", 'Bech32 Prefix'],
["basic-concepts/genesis-file.md", 'Genesis File'],
["basic-concepts/gov-params.md", 'Gov Params']
]
},{
title: 'Modules',
collapsable: false,
children: [
['bank.md', 'Bank'],
['stake.md', 'Stake'],
['service.md', 'Service'],
['record.md', 'Record'],
['governance.md', 'Governance'],
['upgrade.md', 'Upgrade'],
['distribution.md', 'Distribution'],
]
}],
'/cli-client/': [{
title: 'Status',
collapsable: false,
children: [
['status/', 'iriscli status']
]
},
{
title: 'Tendermint',
collapsable: false,
children: [
['tendermint/', 'iriscli tendermint']
]
},
{
title: 'Keys',
collapsable: false,
children: [
['keys/', 'iriscli keys']
]
},
{
title: 'Bank',
collapsable: false,
children: [
['bank/', 'iriscli bank']
]
},
{
title: 'Stake',
collapsable: false,
children: [
['stake/', 'iriscli stake']
]
},
{
title: 'Gov',
collapsable: false,
children: [
['gov/', 'iriscli gov']
]
},
{
title: 'Record',
collapsable: false,
children: [
['record/', 'iriscli record']
]
},
{
title: 'Upgrade',
collapsable: false,
children: [
['upgrade/', 'iriscli upgrade']
]
},
{
title: 'Service',
collapsable: false,
children: [
['service/', 'iriscli service']
]
}],
'/light-client/': [{
title: 'Light Client',
collapsable: false,
children: [
['', 'Light Client']
]
}],
'/resources/': [{
title: 'Resources',
collapsable: false,
children: [
['validator-faq.md', 'Validator FAQ'],
['delegator-faq.md', 'Delegator FAQ'],
['whitepaper-zh.md', 'Whitepaper ZH'],
['whitepaper-en.md', 'Whitepaper EN'],
['whitepaper-kr.md', 'Whitepaper KR'],
]
}]
}
}
}
57 changes: 57 additions & 0 deletions docs/cli-client/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
# Command Line Client

## Global flags of query commands

All query commands has these global flags. Their unique flags will be introduced later.

| Name, shorthand | type | Required | Default Value | Description |
| --------------- | ---- | -------- | --------------------- | -------------------------------------------------------------------- |
| --chain-id | string | false | "" | Chain ID of tendermint node |
| --height | int | false | 0 | Block height to query, omit to get most recent provable block |
| --help, -h | string | false | | Print help message |
| --indent | bool | false | false | Add indent to JSON response |
| --ledger | bool | false | false | Use a connected Ledger device |
| --node | string | false | tcp://localhost:26657 | \<host>:\<port> to tendermint rpc interface for this chain |
| --trust-node | bool | false | true | Don't verify proofs for responses |

## Global flags of commands to send transactions

All commands which can be used to send transactions have these global flags. Their unique flags will be introduced later.

| Name, shorthand | type | Required | Default | Description |
| -----------------| ----- | -------- | --------------------- | ------------------------------------------------------------------- |
| --account-number | int | false | 0 | AccountNumber number to sign the tx |
| --async | bool | false | false | broadcast transactions asynchronously |
| --chain-id | string | true | "" | Chain ID of tendermint node |
| --dry-run | bool | false | false | Ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it |
| --fee | string | true | "" | Fee to pay along with transaction |
| --from | string | false | "" | Name of private key with which to sign |
| --from-addr | string | false | "" | Specify from address in generate-only mode |
| --gas | int | false | 200000 | Gas limit to set per-transaction; set to "simulate" to calculate required gas automatically |
| --gas-adjustment | int | false | 1 | Adjustment factor to be multiplied against the estimate returned by the tx simulation; if the gas limit is set |
| --generate-only | bool | false | false | Build an unsigned transaction and write it to STDOUT |
| --help, -h | string | false | | Print help message |
| --indent | bool | false | false | Add indent to JSON response |
| --json | string | false | false | Return output in json format |
| --ledger | bool | false | false | Use a connected Ledger device |
| --memo | string | false | "" | Memo to send along with transaction |
| --node | string | false | tcp://localhost:26657 | \<host>:\<port> to tendermint rpc interface for this chain |
| --print-response | bool | false | false | return tx response (only works with async = false)|
| --sequence int | int | false | 0 | Sequence number to sign the tx |
| --trust-node | bool | false | true | Don't verify proofs for responses |

## Modules list

Each modules provides a set of command line interfaces. Here we sort these commands by modules.

1. [bank command](./bank/README.md)
2. [distribution command](./distribution/README.md)
3. [gov command](./gov/README.md)
4. [keys command](./keys/README.md)
5. [lcd command](./lcd/README.md)
6. [record command](./record/README.md)
7. [service command](./service/README.md)
8. [stake command](./stake/README.md)
9. [status command](./status/README.md)
10. [tendermint command](./tendermint/README.md)
11. [upgrade command](./upgrade/README.md)
1 change: 1 addition & 0 deletions docs/cli-client/bank/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# iriscli
28 changes: 28 additions & 0 deletions docs/cli-client/distribution/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# iriscli distribution

## introduction

This document describes how to use the the command line interfaces of distribution module.

## Usage

```
iriscli distribution [subcommand] [flags]
```

Print all supported subcommands and flags:

```
iriscli distribution --help
```

## Available Subommands

| Name | Description |
| --------------------------------| --------------------------------------------------------------|
| [delegation-distr-info](delegation-distr-info.md) | Query delegation distribution information |
| [delegator-distr-info](delegator-distr-info.md) | Query delegator distribution information |
| [validator-distr-info](validator-distr-info.md) | Query validator distribution information |
| [withdraw-address](withdraw-address.md) | Query withdraw address |
| [set-withdraw-address](set-withdraw-address.md) | change the default withdraw address for rewards associated with an address |
| [withdraw-rewards](withdraw-rewards.md) | withdraw rewards for either: all-delegations, a delegation, or a validator |
37 changes: 37 additions & 0 deletions docs/cli-client/distribution/delegation-distr-info.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# iriscli distribution delegation-distr-info

## introduction

Query a delegation distribution information

## Usage

```
iriscli distribution delegation-distr-info [flags]
```

Print help messages:
```
iriscli distribution delegation-distr-info --help
```

## Unique Flags

| Name, shorthand | type | Required | Default | Description |
| --------------------| ----- | -------- | -------- | ------------------------------------------------------------------- |
| --address-validator | string | true | "" | Bech address of the validator |
| --address-delegator | string | true | "" | Bech address of the delegator |

## Examples

```
iriscli distribution delegation-distr-info --address-delegator=<delegator address> --address-validator=<validator address>
```
Example response:
```json
{
"delegator_addr": "faa1ezzh0humhy3329xg4avhcjtay985nll0zswc5j",
"val_operator_addr": "fva1ezzh0humhy3329xg4avhcjtay985nll0hpyhf4",
"del_pool_withdrawal_height": "4044"
}
```
Loading