Choose the network to connect to using a simple string or a full WebSocket URL. Recommended values:
  • "peaq" (mainnet)
  • "agung" (testnet, default)
  • Custom: any wss://... endpoint
Tip: See Connecting to peaq for WSS URLs.
from peaq_robot import PeaqRobot

# Defaults to Agung testnet
sdk = PeaqRobot()

# Explicit selections (mainnet first)
sdk = PeaqRobot(network="peaq")
sdk = PeaqRobot(network="agung")
sdk = PeaqRobot(network="wss://your-endpoint")