Skip to main content
Vana supports building on two networks. Your app code is identical on both — you pick the network with one setting, and the SDK resolves the right chain, contracts, and escrow for you.
Testnet and mainnet data do not mix. A grant approved on testnet cannot be read on mainnet, and escrow balances are separate per network. Use the same network on your app (VANA_NETWORK) and in the Vana app your test user signs into.

Switch networks

One environment variable selects the network in both the example app and the SDK:
VANA_ENV stays production in both cases — it selects the Vana product stack, while VANA_NETWORK selects the chain. In SDK code, the same choice is the network option:
When you move an app from testnet to mainnet: switch VANA_NETWORK, register your app identity on mainnet (same flow, Protocol network: Mainnet), and fund mainnet escrow. Nothing else changes.