Home
Intel
- Introduction
- Node updates
- Blockchain Intelligence
Alerting
- Introduction
- Alert Types
- Alert Channels
- Silence grafana alerts
Monitoring
Logging
Nodepilot
Blockchain Node Setup
Command Line Interface
FAQs
Collection of common questions around SUI Node Helper
The download binary can be due to various reasons:
- Server does not have access to internet. You can try accessing any public endpoint using
curl
orping
command likebash ping 8.8.8.8
- The linux user does not have access to selected download path, so make sure the path inserted at Download Binary page is valid and accessible by your user.
- Scale3Lab’s binary repo does not have required release version for SUI. We generally build many versions, but it’s possible that each individual have their custom requirements. If this is the case, you may just proceed with any common release tag and continue with the flow and later just before starting the linux service abort the tool and manually replace your desired sui-node binary with the one which was downloaded.
Assuming you have setup your SUI fullnode or validator using SUI Helper.
To start a sui-node process run the following command
sudo service sui-node start
To restart sui-node process run
sudo service sui-node restart
You can check if your node is syncing blocks in any of the following ways.
-
Using SUI Node Checker Use this tool https://www.scale3labs.com/check/sui. Run the check atleast twice with an interval of minimum 10 seconds and observe your node block height, it should increase.
-
Run this command on your SUI node server
curl --location --request POST http://localhost:9000 \ --header 'Content-Type: application/json' \ --data-raw '{ "jsonrpc":"2.0", "method":"sui_getTotalTransactionBlocks","id":1}'
Output should be something like:
{"jsonrpc":"2.0","result":"23446624","id":1}
Run this command multiple times, if your node is syncing fine you should notice number in
result
block going up. -
Onboard your node on Scale3Labs Autopilot To observe syncing trend on your node, the best way to do is by onboarding your node on https://www.scale3labs.com/#autopilot.
If you have just setup a new node and its not syncing, this could mostly be due to your node unable to find peers. Follow the steps to add peers to your SUI node config file.
- cd into directory where you have
fullnode.yaml
orvalidator.yaml
file (If you do not know where the file is, check the FAQ for how to find config file). For most of the scenarios it’s by runningcd ~/sui/
- add peers to the list. This list is taken from here.
This peer list is only for testnet
sudo tee -a fullnode.yaml << END
p2p-config:
seed-peers:
- address: "/dns/sui-rpc-pt.testnet-pride.com/udp/8084"
- address: "/dns/sui-rpc-pt2.testnet-pride.com/udp/8084"
- address: "/dns/sui-rpc-testnet.bartestnet.com/udp/8084"
- address: "/ip4/38.242.197.20/udp/8080"
- address: "/ip4/178.18.250.62/udp/8080"
- address: "/ip4/162.55.84.47/udp/8084"
- address: "/dns/wave-3.testnet.n1stake.com/udp/8084"
END
- Once added, restart the sui-node process by running
sudo service sui-node restart
- Check SUI version by running binary. First
cd
to the path where you have your sui-node binary./sui-node --version
- By making the following API call. this requires
jq
to be installed.If you have a different custom setup, make sure to change localhost and port to your desired values.
curl --location --request POST http://localhost:9000 \ --header 'Content-Type: application/json' \ --data-raw '{ "jsonrpc":"2.0", "method":"rpc.discover","id":1}' | jq '.result.info.version'
- If you have already onboarded your node on Scale3 Autopilot, you can check it on metrics dashboard.
Config file for fullnode is fullnode.yaml
whereas for validators its validator.yaml
.
Generally, they are located at
cd ~/sui/
But if you have used different folder path during the setup and you don’t recall it now, you can find the config file by checking the sui-node
linux service.
cat /etc/systemd/system/sui-node.service | grep 'ExecStart'
The output of above command will have --config-path
value, that’s the file path of your config file.
To check logs for sui-node service you can run the following command.
journalctl -fu sui-node