Skip to content

Latest commit

 

History

History
65 lines (44 loc) · 1.28 KB

README.md

File metadata and controls

65 lines (44 loc) · 1.28 KB

sui devnet & tesnet fullnode

Installing

  1. Run the script:
. <(wget -qO- sh.f5nodes.com) sui
  1. Wait till the end of installation.

Commands

Check node logs:

journalctl -n 100 -f -u suid

CTRL + C to exit logs

Stop / restart the node:

sudo systemctl stop suid
sudo systemctl restart suid

Last chain block:

curl --location --request POST 'https://fullnode.testnet.sui.io:443/' --header 'Content-Type: application/json' --data-raw '{"jsonrpc":"2.0", "id":1,"method":"sui_getLatestCheckpointSequenceNumber"}'; echo

Your node last block:

curl -q localhost:9184/metrics 2>/dev/null |grep '^highest_synced_checkpoint'

Check the latest TX on chain with the testnet RPC (https://fullnode.testnet.sui.io:443/):

curl --location --request POST https://fullnode.testnet.sui.io:443 \
  --header 'Content-Type: application/json' \
  --data-raw '{ "jsonrpc":"2.0", "method":"sui_getTotalTransactionNumber","id":1}'

Check the latest TX on your node:

curl --location --request POST http://127.0.0.1:9000/ \
  --header 'Content-Type: application/json' \
  --data-raw '{ "jsonrpc":"2.0", "method":"sui_getTotalTransactionNumber","id":1}'

Check your node version:

sui-node -V