Skip to content

Commit 1a8f91f

Browse files
authored
Merge pull request #109 from neo-project/dev
master < dev
2 parents bd0c195 + 355de73 commit 1a8f91f

File tree

4 files changed

+57
-45
lines changed

4 files changed

+57
-45
lines changed

docs/n3/migration/migration-guide.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,19 +6,19 @@ This tutorial will guide you through the process of migrating Neo and GAS tokens
66

77
1. Click the icon in the upper right corner and click `Create wallet`.
88

9-
![](assets/picture1.png)
9+
![](assets/Picture1.png)
1010

1111
2. Select `Neo N3` to create a Neo N3 wallet.
1212

13-
![](assets/picture2.png)
13+
![](assets/Picture2.png)
1414

1515
3. Input your wallet name and password and click `Create` . A new Neo N3 wallet is successfully created.
1616

1717
> [!Note]
1818
>
1919
> Please follow the prompt to back up your private key carefully.
2020
21-
![](assets/picture3.png)
21+
![](assets/Picture3.png)
2222

2323
4. Go to the [Migration To N3](https://migration.neo.org/) website. Click `CONNECT WALLET`.
2424

docs/n3/node/cli/cli.md

Lines changed: 41 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -23,19 +23,19 @@ All the commands described in this document conform with these conventions:
2323
| ------- | --------- |
2424
| version | Shows the current Neo-CLI version |
2525
| help [plugin-name] | Help menu, which can also show plugin related commands. |
26-
| [parse](#parse) \<value> | Convert the input string into various supported data format |
26+
| [parse](#parse) `<value>` | Convert the input string into various supported data format |
2727
| clear | Clear screen |
2828
| exit | Exit program |
2929

3030
#### Wallet commands
3131

3232
| Command | Parameters | Description |
3333
| ------------------------------------------------- | -------------------------------------- | ------------------------------------------------------------ |
34-
| [create wallet](#create-wallet) | \<path> | Creates a wallet file. |
35-
| [delete address](#delete-address) | \<address> | Delete an address from wallet. |
36-
| [open wallet](#open-wallet) | \<path> | Opens a wallet file. |
34+
| [create wallet](#create-wallet) | `<path>` | Creates a wallet file. |
35+
| [delete address](#delete-address) | `<address>` | Delete an address from wallet. |
36+
| [open wallet](#open-wallet) | `<path>` | Opens a wallet file. |
3737
| close wallet | | Closes the current wallet. |
38-
| [upgrade wallet](#upgrade-wallet) | \<path> | Upgrades old wallet files. |
38+
| [upgrade wallet](#upgrade-wallet) | `<path>` | Upgrades old wallet files. |
3939

4040
The commands listed in the table below requires you to open the wallet before invoking.
4141

@@ -47,21 +47,21 @@ The commands listed in the table below requires you to open the wallet before in
4747
| list key | | Lists all public keys in your wallet. |
4848
| [show gas](#show-gas) | | Lists all the GAS in your wallet. |
4949
| [create address](#create-address) | [count=1] | Creates address / batch create address |
50-
| [import key](#import-key) | \<wifOrFile> | Imports a private key / bulk import of private keys. |
50+
| [import key](#import-key) | `<wifOrFile>` | Imports a private key / bulk import of private keys. |
5151
| [export key](#export-key) | \[path=null] \[scriptHash=null] | Exports private keys. |
52-
| [import multisigaddress](#import-multisigaddress) | \<m> \<publicKeys> | Creates a multi-signature contract. |
53-
| [import watchonly](#import-watchonly) | \<addressOrFile> | Imports the watch-only address (e.g. contract address)|
54-
| [send](#send) | \<id \| alias> \<address> \<amount> \[from=null] \[data=null] \[signerAccounts=null] | Sends assets to the specified address. |
55-
| [sign](#sign) | \<jsonObjectToSign> | Signs the transaction. The parameter is the json string that records the transaction information. |
56-
| [cancel](#cancel) | \<txid> [sender=null] [signerAccounts=null] | Cancel unconfirmed transactions (in memory pool) |
52+
| [import multisigaddress](#import-multisigaddress) | `<m>` `<publicKeys>` | Creates a multi-signature contract. |
53+
| [import watchonly](#import-watchonly) | `<addressOrFile>` | Imports the watch-only address (e.g. contract address)|
54+
| [send](#send) | `<id>` `<alias>` `<address>` `<amount>` \[from=null] \[data=null] \[signerAccounts=null] | Sends assets to the specified address. |
55+
| [sign](#sign) | `<jsonObjectToSign>` | Signs the transaction. The parameter is the json string that records the transaction information. |
56+
| [cancel](#cancel) | `<txid>` [sender=null] [signerAccounts=null] | Cancel unconfirmed transactions (in memory pool) |
5757

5858
#### Contract commands
5959

6060
| Command | Parameters | Description |
6161
| ----------------- | ------------------------------------------------------------ | ------------------ |
62-
| [deploy](#deploy) | \<nefFilePath> [manifestFile] | Deploys a contract |
63-
| [invoke](#invoke) | \<scripthash> \<operation> \[contractParameters=null] \[sender=null] \[signerAccounts=null] \[maxGas=20] | Invokes a contract |
64-
| [update](#update) | \<scriptHash> \<filePath> \<manifestPath> \<sender> \[signerAccounts=null] | Upgrade a contract |
62+
| [deploy](#deploy) | `<nefFilePath>` [manifestFile] | Deploys a contract |
63+
| [invoke](#invoke) | `<scripthash>` `<operation>` \[contractParameters=null] \[sender=null] \[signerAccounts=null] \[maxGas=20] | Invokes a contract |
64+
| [update](#update) | `<scriptHash>` `<filePath>` `<manifestPath>` `<sender>` \[signerAccounts=null] | Upgrade a contract |
6565

6666

6767
#### Node commands
@@ -75,11 +75,11 @@ The commands listed in the table below requires you to open the wallet before in
7575

7676
| Command | Parameters | Description |
7777
| ----------------------- | ------------------------------------------------------------ | ------------------------------------------------------------ |
78-
| [balanceof](#balanceof) | \<tokenHash> \<address> | Queries the balance of specified token at the specified address |
79-
| [decimals](#decimals) | \<tokenHash> | Queries the precision of specified token |
80-
| [name](#name) | \<tokenHash> | Queries the name of specified token |
81-
| [totalsupply](#totalsupply) | \<tokenHash> | Queries the total supply of specified token |
82-
| [transfer](#transfer) | \<tokenHash> \<to> \<amount> \[from=null] \[data=null] \[signersAccounts=null] | Invokes the transfer method to transfer the specified token |
78+
| [balanceof](#balanceof) | `<tokenHash>` `<address>` | Queries the balance of specified token at the specified address |
79+
| [decimals](#decimals) | `<tokenHash>` | Queries the precision of specified token |
80+
| [name](#name) | `<tokenHash>` | Queries the name of specified token |
81+
| [totalsupply](#totalsupply) | `<tokenHash>` | Queries the total supply of specified token |
82+
| [transfer](#transfer) | `<tokenHash>` `<to>` `<amount>` \[from=null] \[data=null] \[signersAccounts=null] | Invokes the transfer method to transfer the specified token |
8383

8484
#### Native contract commands
8585

@@ -91,14 +91,14 @@ The commands listed in the table below requires you to open the wallet before in
9191

9292
| Command | Parameters | Description |
9393
| --------------- | ------------------- | ------------------------------------------------------------ |
94-
| [relay](#relay) | \<jsonObjectToSign> | Broadcasts the transaction. The parameter is the json string that records the transaction information. |
95-
| [broadcast addr](#broadcast-addr) | \<payload IP address> \<port> | Broadcasts the IP address of the node |
96-
| [broadcast block](#broadcast-block) | \<block hash \| block height> | Broadcasts a block |
97-
| [broadcast getblocks](#broadcast-getblocks) | \<block hash> | Broadcasts the getblocks request |
98-
| [broadcast getdata](#broadcast-getdata) | \<inventory type> \<payload> | Broadcasts the getdata request |
99-
| [broadcast getheaders](#broadcast-getheaders) | \<block index> | Broadcasts the getheaders request |
100-
| [broadcast inv](#broadcast-inv) | \<inventory type> \<payload> | Broadcasts the inventory data |
101-
| [broadcast transaction](#broadcast-transaction) | \<transaction hash> | Broadcasts a transaction |
94+
| [relay](#relay) | `<jsonObjectToSign>` | Broadcasts the transaction. The parameter is the json string that records the transaction information. |
95+
| [broadcast addr](#broadcast-addr) | `<payload IP address>` `<port>` | Broadcasts the IP address of the node |
96+
| [broadcast block](#broadcast-block) | `<block hash \| block height>` | Broadcasts a block |
97+
| [broadcast getblocks](#broadcast-getblocks) | `<block hash>` | Broadcasts the getblocks request |
98+
| [broadcast getdata](#broadcast-getdata) | `<inventory type>` `<payload>` | Broadcasts the getdata request |
99+
| [broadcast getheaders](#broadcast-getheaders) | `<block index>` | Broadcasts the getheaders request |
100+
| [broadcast inv](#broadcast-inv) | `<inventory type>` `<payload>` | Broadcasts the inventory data |
101+
| [broadcast transaction](#broadcast-transaction) | `<transaction hash>` | Broadcasts a transaction |
102102

103103
#### Plugin commands
104104

@@ -107,36 +107,36 @@ The commands listed in the table below requires you to open the wallet before in
107107
| [plugins](#plugins) | | Lists loaded plugins |
108108
| [install](#install) | [Plugin name] | Installs the specified plugin |
109109
| uninstall | [Plugin name] | Uninstalls the specified plugin |
110-
| [dump storage](#dump-storage) | \<key> | Exports all or the specified state data. This command requires installation of the StatesDumper plugin. |
110+
| [dump storage](#dump-storage) | `<key>` | Exports all or the specified state data. This command requires installation of the StatesDumper plugin. |
111111
| [start consensus](#start-consensus) | | Starts consensus. This command requires installation of the DBFTPlugin plugin. |
112112
| [start oracle](#start-oracle) | | Starts Oracle. This command requires installation of the OracleService plugin. |
113113
| [stop oracle](#stop-oracle) | | Stops Oracle. This command requires installation of the OracleService plugin. |
114-
| [state root](#state-root) | \<index> | Queries the state root with index. This command requires installation of the StateService plugin. |
114+
| [state root](#state-root) | `<index>` | Queries the state root with index. This command requires installation of the StateService plugin. |
115115
| state height | | Queries the state height. This command requires installation of the StateService plugin. |
116-
| [get proof](#get-proof) | \<rootHash> \<scriptHash> \<key> | Gets proof with root hash, contract hash, and storage key. |
117-
| [verify proof](#verify-proof) | \<rootHash> \<proof> | Verifies with root hash and proof. |
116+
| [get proof](#get-proof) | `<rootHash>` `<scriptHash>` `<key>` | Gets proof with root hash, contract hash, and storage key. |
117+
| [verify proof](#verify-proof) | `<rootHash>` `<proof>` | Verifies with root hash and proof. |
118118

119119
#### Voting commands
120120

121121
| Command | Parameters | Description |
122122
| --------------------------------------------- | ----------------------------- | ----------------------------------------------------------- |
123-
| [get accountstate](#get-accountstate) | \<address> | Gets the latest voting information of the specified account |
123+
| [get accountstate](#get-accountstate) | `<address>` | Gets the latest voting information of the specified account |
124124
| [get candidates](#get-candidates) | | Gets candidates' public keys and votes |
125125
| [get committee](#get-committee) | | Gets the committee member's public key |
126126
| [get next validators](#get-next-validators) | | Gets the next validator's public key |
127-
| [register candidate](#register-candidate) | \<account> [maxGas=1010] | Registers the candidate |
128-
| [unregister candidate](#unregister-candidate) | \<account> | Unregisters the candidate |
129-
| [vote](#vote) | \<senderAccount> \<publicKey> | Votes for candidates |
130-
| [unvote](#unvote) | \<senderAccount> | Cancel the voting |
127+
| [register candidate](#register-candidate) | `<account>` [maxGas=1010] | Registers the candidate |
128+
| [unregister candidate](#unregister-candidate) | `<account>` | Unregisters the candidate |
129+
| [vote](#vote) | `<senderAccount>` `<publicKey>` | Votes for candidates |
130+
| [unvote](#unvote) | `<senderAccount>` | Cancel the voting |
131131

132132
#### Block Commands
133133

134134
| Command | Parameters | Description |
135135
| ------------------------------- | -------------------------------------- | ------------------------------------------------------------ |
136-
| [export blocks](#export-blocks) | \<start> \[block count] \[export path] | Exports the blockchain data from the specified block height. The exported data can be used for offline synchronization. |
137-
| [show block](#show-blocks) | \<indexOrHash> | Output block details via block height or block hash. |
138-
| [show contract](#show-contract) | \<nameOrHash> | Output contract details by contract name or contract hash. |
139-
| [show tx](#show-tx) | \<hash> | Output transaction details via transaction hash. |
136+
| [export blocks](#export-blocks) | `<start>` \[block count] \[export path] | Exports the blockchain data from the specified block height. The exported data can be used for offline synchronization. |
137+
| [show block](#show-blocks) | `<indexOrHash>` | Output block details via block height or block hash. |
138+
| [show contract](#show-contract) | `<nameOrHash>` | Output contract details by contract name or contract hash. |
139+
| [show tx](#show-tx) | `<hash>` | Output transaction details via transaction hash. |
140140

141141
#### Log Commands
142142

@@ -153,7 +153,7 @@ Converts the input string into various supported data formats.
153153

154154
##### Syntax
155155

156-
`parse <value>`
156+
> parse `<value>`
157157
158158
##### Example
159159

docs/n3/reference/rpc/latest-version/api.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ You can modify the port in config.json in the RpcServer folder.
5959
| [getunclaimedgas](api/getunclaimedgas.md) | <address\> | Get unclaimed gas of the specified address. |
6060
| [invokefunction](api/invokefunction.md) | <script_hash\> <operation\> \[params] \[sender] \[signers] | Invokes a smart contract with the specified script hash, passing in the method name and its params. |
6161
| [invokescript](api/invokescript.md) | <script\> \[sender] \[signers] | Runs a script through the virtual machine and returns the results. |
62-
| [traverseiterator](api/traverseiterator.md) | \<session> \<iterator id> \<count> | Gets the Iterator type data. |
62+
| [traverseiterator](api/traverseiterator.md) | `<session>` `<iterator id>` `<count>` | Gets the Iterator type data. |
6363

6464
### Tool
6565

src/css/tailwind.output.css

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -451,6 +451,18 @@ a:hover{
451451
color: rgb(0 229 153 / var(--tw-text-opacity));
452452
}
453453

454+
ul, ol {
455+
list-style: revert;
456+
}
457+
458+
ul {
459+
list-style-position: inside;
460+
}
461+
462+
ul, ol {
463+
margin-left: 20px;
464+
}
465+
454466
*, ::before, ::after{
455467
--tw-border-spacing-x: 0;
456468
--tw-border-spacing-y: 0;

0 commit comments

Comments
 (0)