sidebar_label | sidebar_position |
---|---|
'Neo Node Introduction' | 0 |
Neo Node Introduction
Nodes that store all of the blockchain are called โfull-nodesโ. They are connected to the blockchain through a P2P network. All the nodes in the blockchain network are equal, they act both as a client interface and as a server.
There are two full-node programs:
-
Neo-CLI, which provides a command-line interface and a set of RPC API for developers. It also helps other nodes achieve consensus with the network and is involved in generating new blocks.
-
Neo-GUI, which provides a graphical interface for ordinary users and developers, with most functions except consensus.
Download links
Neo-GUI and Neo-CLI comparison
Neo-GUI | Neo-CLI | |
---|---|---|
General | ||
Graphic interface | โ | |
Command line interface | โ | |
Query blocks/transactions/assets | โ | |
Wallet | ||
Create wallet | โ | โ |
Open wallet | โ | โ |
Import/Export key pair | โ | โ |
Import mnemonics into wallet | โ | |
Upgrade wallet file | โ | |
Show all key pairs | โ | โ |
Show all addresses | โ | โ |
Show all assets | โ | โ |
Transfer | โ | โ |
Claim GAS | โ | โ |
Create address | โ | โ |
Create multi-party signed address | โ | โ |
Generate multiple addresses | โ | |
Change wallet password | โ | โ |
Delete address | โ | โ |
Contract | ||
Query contract | โ | |
Deploy contract | โ | โ |
Invoke contract | โ | โ |
Advanced | ||
Register to candidate | โ | โ |
Voting | โ | โ |
Custom transaction construction | โ | |
Signature | โ | โ |
Data conversion | โ | |
JSON-RPC | โ | |
Participate in blockchain consensus | โ |
NEO-CLI security policy
To enable an external program to access the node API, you need to open the firewall port.
To avoid the significant security risk, a whitelist or firewall must be used to block external server requests.
Neo-CLI does not provide the function to remotely switching on/off the wallet, and it does not verify the process when opening a wallet. Therefore, you should set your own security policies. The wallet must be kept open all the time to respond to the withdrawal requests of users. For security reasons, the wallets should be run in an independent server on which the firewall is configured properly, as shown below.
Main Net | Test Net | |
---|---|---|
JSON-RPC via HTTPS | 10331 | 20331 |
JSON-RPC via HTTP | 10332 | 20332 |
P2P via TCP | 10333 | 20333 |
P2P via WebSocket | 10334 | 20334 |