Environments

Novacore testnet and mainnet environments, base URLs, and when to use each.

Novacore runs in two environments. Use testnet for development and testing, mainnet for production.

Environment URLs

ServiceTestnetMainnet
REST APIhttps://novacore-testnet.sourceful.devhttps://novacore-mainnet.sourceful.dev
MQTTmqtts://novacore-testnet.sourceful.dev:8883mqtts://novacore-mainnet.sourceful.dev:8883
NATS WebSocketwss://novacore-testnet.sourceful.dev:4443wss://novacore-mainnet.sourceful.dev:4443

When to Use Each

Testnet

Use testnet during development:

  • Safe to experiment — no real energy devices affected
  • Test authentication flows, device provisioning, and API integration
  • Data may be periodically reset

Mainnet

Use mainnet for production applications:

  • Real devices and real energy data
  • Production SLA guarantees
  • Persistent data and configurations

Switching Environments

The API interface is identical between environments. To switch, change your base URL:

// Development
const BASE_URL = "https://novacore-testnet.sourceful.dev";

// Production
const BASE_URL = "https://novacore-mainnet.sourceful.dev";

Identities and organizations are separate between testnet and mainnet. You'll need to register and set up your org in each environment independently.

Knowledge gap for Tobias/Johan: Are there simulated/test devices available on testnet? What are the rate limits per environment? Is testnet open for self-service registration?