📄️ Running a Node
Conflux Network is a scalable blockchain platform that aims to achieve high throughput and security. Running a Conflux node allows you to participate in the network, validate transactions, and interact with the Conflux blockchain.
📄️ Node Types
In the Conflux Network, there are different types of nodes that you can run, each serving different purposes and having different requirements. There are 3 types of nodes: Archive Node, Full Node and Light Node. The difference between three types of nodes lies in the amount of data reserved for storage. The Archive Node takes the most and the Light Node takes the least. Of course, more data consumes more hardware resources. In general, if you want to participate in mining, a fullnode will suffice . you need to run an archivenode if you want to use it as RPC service. The lightnode is mainly used as a wallet.
📄️ Snapshot Tool
📄️ Downloading the Conflux Client
Conflux-rust is a high-performance implementation of the Conflux protocol developed by the foundation with the Rust language. Conflux-rust is a Conflux node that connects to other nodes on the Conflux network and provides an RPC interface that you can use to query and interact with the blockchain. It is also a command-line tool that manages local accounts and conducts RPC interaction with nodes. You can download the released package through any of the ways listed:
📄️ Compiling the Conflux Client
Here is a step by step guide on how to build Conflux from the source code and get a node running.
📄️ Node Configuration
Configuring a Conflux node allows you to tailor its operation to your specific needs and system capabilities.
📄️ Configuration Files
Below is a mainnet node configuration file, it contains all the supported options along with some explanations in the comments. You can also find the latest version at conflux-rust Github repository's run folder. The file name is hydra.toml or testnet.toml. You can also find the log config file log.yaml in the same folder.
📄️ CLI Sub-commands
Conflux CLI sub-commands is a collection of command line interfaces which allows you to interact with a local or remote Conflux node.
📄️ Official Bootnodes
Bootnodes is a list of nodes that a conflux node trusts, and will be used to sync the blockchain when a node starts. The value is a string divided by comma without space, and every entry is a node A node is identified by cfxnodePORT By default, no bootnodes are provided. What's provided here is a list of nodes that Conflux Team maintains across the world.
📄️ Running a Light Node
Note: Currently, eSpace (EVM full-compatible space) RPC methods are not supported on the Conflux Light Node.
📄️ Running a Full Node
📄️ Running an Archive Node
📄️ Running an Independent Chain
You may want to run Conflux on a single node chain to develop and test smart contracts. You can run Conflux as your independent chain with several machines.