Skip to content

Commit 0fdf908

Browse files
committed
docs: Replace oasis-node CLI with oasis CLI docs
1 parent b79f513 commit 0fdf908

15 files changed

Lines changed: 80 additions & 353 deletions

File tree

.gitmodules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,6 @@
1111
[submodule "external/adrs"]
1212
path = external/adrs
1313
url = https://github.com/oasisprotocol/adrs
14+
[submodule "external/cli"]
15+
path = external/cli
16+
url = https://github.com/oasisprotocol/cli

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ Markdown files hosted by this repository should:
117117
`../howto-use-wallet.md`.
118118
`../../../operators/set-up-your-node.md`
119119

120-
Markdown files hosted by other Oasis repositories should:
120+
Symlinked Markdown files hosted by other Oasis repositories should:
121121

122122
- reference markdown files in the same repository by a relative path e.g.
123123
`../howto-write-contract.md`.

docs/general/manage-tokens/README.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ For your own security and peace of mind, please only use wallets that are listed
2525
findSidebarItem('/general/manage-tokens/terminology'),
2626
findSidebarItem('/general/manage-tokens/staking-and-delegating'),
2727
findSidebarItem('/general/manage-tokens/oasis-wallets/'),
28-
findSidebarItem('/general/manage-tokens/advanced/oasis-cli-tools/'),
28+
findSidebarItem('/general/manage-tokens/cli/'),
2929
findSidebarItem('/general/manage-tokens/holding-rose-tokens/custody-providers'),
3030
findSidebarItem('/general/manage-tokens/holding-rose-tokens/bitpie-wallet'),
3131
findSidebarItem('/general/manage-tokens/holding-rose-tokens/ledger-wallet'),

docs/general/manage-tokens/advanced/oasis-cli-tools/deposit-withdraw-tokens-to-from-paratime.mdx

Lines changed: 0 additions & 309 deletions
This file was deleted.

docs/general/manage-tokens/advanced/oasis-cli-tools/setup.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,7 @@ To run a command that requires a connection to an online Oasis node (i.e. the `s
1111

1212
Here are some examples of Oasis Node CLI commands that need a connection to an online Oasis node:
1313

14-
* `oasis-node stake info`: Shows general staking information.
15-
* `oasis-node stake list`: Lists all accounts with positive balance.
16-
* `oasis-node stake account info`: Shows detailed information for an account.
17-
* `oasis-node consensus submit_tx`: Submits a pre-generated transaction to the network.
14+
1815

1916
## Local commands
2017

docs/general/manage-tokens/advanced/oasis-cli-tools/transfer-tokens.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,8 @@ Escrow Account:
8282
...
8383
```
8484

85-
We can observe that both, the general account and the escrow account (actively bounded and debonding), have a balance of 0 tokens.
85+
We can observe that both, the general account and the escrow account (actively
86+
bounded and debonding), have a balance of 0 tokens.
8687

8788
## Generate a Transfer Transaction
8889

docs/general/manage-tokens/cli

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../../../external/cli/docs

docs/general/manage-tokens/holding-rose-tokens/ledger-wallet.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,4 +158,4 @@ Ledger is supported by the Oasis CLI. Follow the instructions in the
158158
[Nano S Plus]: https://support.ledger.com/hc/en-us/articles/4445777839901-Update-Ledger-Nano-S-Plus-firmware
159159
[BIP 39]: https://github.com/bitcoin/bips/blob/master/bip-0039.mediawiki
160160
[Oasis Wallets]: ../oasis-wallets/README.mdx
161-
[Oasis CLI Tools]: ../advanced/oasis-cli-tools/README.md
161+
[Oasis CLI Tools]: ../cli/README.md

docs/general/manage-tokens/how-to-transfer-rose-into-paratime.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ learn how to use Oasis CLI instead.
198198

199199
:::
200200

201-
[Oasis CLI]: advanced/oasis-cli-tools/deposit-withdraw-tokens-to-from-paratime.mdx
201+
[Oasis CLI]: cli/account.mdx
202202

203203
### Verifying ParaTime deposits and withdrawals
204204

@@ -233,5 +233,5 @@ addresses, Token Transfers, Contract Calls, etc.), you have to use the
233233
findSidebarItem('/dapp/emerald/writing-dapps-on-emerald'),
234234
findSidebarItem('/dapp/sapphire/quickstart'),
235235
findSidebarItem('/dapp/cipher/'),
236-
findSidebarItem('/general/manage-tokens/advanced/oasis-cli-tools/deposit-withdraw-tokens-to-from-paratime')
236+
findSidebarItem('/general/manage-tokens/cli/account')
237237
]} />

docs/node/run-your-node/paratime-node.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ No manual node registration is necessary.
179179

180180
:::info
181181

182-
ParaTime rewards for running the compute node will be sent to your entity address **inside the ParaTime**. To access the rewards on the consensus layer, you will need to withdraw them first. Read the [Deposit/Withdraw Tokens to/from ParaTime](../../general/manage-tokens/advanced/oasis-cli-tools/deposit-withdraw-tokens-to-from-paratime.mdx) chapter to learn more.
182+
ParaTime rewards for running the compute node will be sent to your entity address **inside the ParaTime**. To access the rewards on the consensus layer, you will need to withdraw them first. Read the [Deposit/Withdraw Tokens to/from ParaTime](../../general/manage-tokens/cli/account.mdx) chapter to learn more.
183183

184184
:::
185185

0 commit comments

Comments
 (0)