Run a Bridge Node
Last updated
Last updated
The codebase is currently not public. We will be sharing more details about the node's role and functionality soon. We appreciate your patience and interest. Thank you for your understanding and continued support.
By following these steps, you should be able to successfully set up and start a Nubit Bridge Node. If you encounter any issues, please provide detailed information, and further assistance will be provided.
Please first before running your own bridge node. Make sure your nubit-validator
is running in its own terminal.
Open a new terminal to set up the Nubit Bridge Node. All consensus data from validators is sent to the bridge node. The bridge node retrieves data from core validator nodes and then sends the data to full/light nodes.
Due to the current heavy load, we are temporarily unable to provide long-term connection services. Therefore, we recommend users run their own validator nodes and use the RPC interface provided by their validator to retrieve block data. This will ensure the stability and timeliness of data transmission.
Clone the nubit-node
repository.
In the cloned repository directory, run the following command to make build and install the CLI:
Remove any existing bridge node data and set up the necessary network and environment variables.
Use the following command to clear up any previous data:
Run the following command to initialize the bridge node. This command will automatically generate a Nubit node address and mnemonic phrase. Make sure to save the mnemonic phrase securely.
To quickly sync to the latest block, a snapshot is provided and updated every 12 hours. Follow these steps:
Download the snapshot using wget
. Ensure you have enough disk space (approximately 11GB):
Extract the downloaded snapshot to update your node's data:
Run the following command to start the bridge node. Pay special attention to the output and ensure the node starts correctly.
Successful response will show like thie
Pay special attention to the P2P PEERS, which is the IP address of your host machine. If other machines are on the same local network as your host machine, they can use this P2P PEER address to connect to your bridge node and start their own full/light nodes.
By following these steps, you should be able to successfully set up and start a Nubit Bridge Node. If you encounter any issues, please provide detailed information, and further assistance will be provided.
This will update your node to a recent state. Keep it running to ensure it syncs to the latest block. For the most current block information, please visit the chain explorer at .