Quick Reference Commands

Navigate to your testnet folder and run these commands...

🐳 1. Daemon Management (Docker: sn01)

These commands allow you to interact with the daemon running inside your Docker container.

Set Log Level - Log Level Reference

  • 0: Default (Information only, very clean)

  • 1: Debug (Detailed info on sync and connections)

  • 2: Trace (Very verbose, showing packet details)

  • 3: Extreme (Shows almost everything, uses lots of CPU/Disk)

  • 4: Developer (Only used for finding deep bugs)

docker exec sn01 /usr/local/bin/xeq-d --testnet --rpc-admin=127.0.0.1:18091 set_log 1

Action

Linux / Windows Command

Basic Status

docker exec sn01 /usr/local/bin/xeq-d --testnet --rpc-admin=127.0.0.1:18091 status

SN Info (Keys/Reg)

docker exec sn01 /usr/local/bin/xeq-d --testnet --rpc-admin=127.0.0.1:18091 print_sn

Sync Details

docker exec sn01 /usr/local/bin/xeq-d --testnet --rpc-admin=127.0.0.1:18091 sync_info

Peer List

docker exec sn01 /usr/local/bin/xeq-d --testnet --rpc-admin=127.0.0.1:18091 print_pl

Quorum Status

docker exec sn01 /usr/local/bin/xeq-d --testnet --rpc-admin=127.0.0.1:18091 print_sn_status

Live Logs

docker logs -f sn01


πŸ’° 2. Wallet CLI Operations

Common commands to use within the xeq-wallet-cli.

Use these if you want to send a transaction without using the Blink (instant) network, typically for lower fees.Syntax: transfer [priority] <address> <amount># Example: Sending 100,000 XEQ with unimportant prioritytransfer unimportant XEQT6hQJgqtLqsXb595AM5CxgxbM9tTVWW5yNyYF8hq8XHBHmi2hFBF7vQ3ipsrr5cfGKejDoqCTJVtoPqG4j1yP5AcemuvRkR 100000

Priority Levels:

  1. unimportant (Lowest fee, non-Blink)

  2. normal

  3. elevated

  4. priority

  5. blink (Default, instant transaction)


πŸ›  3. Troubleshooting & Maintenance

Enter the Container Shell:If you need to explore the container file system or run manual scripts:docker exec -it sn01 /bin/bashRestart the Daemon:docker restart sn01Check Resource Usage:docker stats sn01


πŸ’‘ Pro-Tips

  • Linux Users: Install jq (sudo apt install jq) to handle JSON RPC responses from the daemon if you are writing custom automation scripts.

  • Logs: If your node is acting up, the first thing to check is docker logs --tail 100 sn01 to see the most recent errors.

  • Syncing: If status shows you are many blocks behind, check sync_info to see if you are actively downloading from peers.

Quick Commands

View service node logs:

View wallet RPC logs:

Open wallet:

Check running containers:

Stop service node:

Start service node again:

Restart service node:

Last updated