Skip to main content

Network Configuration

Testnet​

info
  • If your SDK >= 0.7.0, you will be using photon2.
  • If your SDK =< 0.6.0, you will be using photon1.

Use the Testnet configuration to connect to the integrated Nillion Testnet. Check out Testnet wallet and faucet guides here.

Local Devnet​

Use the nillion-devnet SDK tool to spin up a devnet that you can interact with locally while you keep the process running:

nillion-devnet --seed my-seed

You will see an output like this:

nillion-devnet --seed my-seed
ℹ️ cluster id is 222257f5-f3ce-4b80-bdbc-0a51f6050996
ℹ️ using 256 bit prime
ℹ️ storing state in /var/folders/1_/2yw8krkx5q5dn2jbhx69s4_r0000gn/T/.tmpU00Jbm (62.14Gbs available)
πŸƒ starting nilchain node in: /var/folders/1_/2yw8krkx5q5dn2jbhx69s4_r0000gn/T/.tmpU00Jbm/nillion-chain
β›“ nilchain JSON RPC available at http://127.0.0.1:48102
β›“ nilchain gRPC available at localhost:26649
πŸƒ starting node 12D3KooWMGxv3uv4QrGFF7bbzxmTJThbtiZkHXAgo3nVrMutz6QN
⏳ waiting until bootnode is up...
πŸƒ starting node 12D3KooWKkbCcG2ujvJhHe5AiXznS9iFmzzy1jRgUTJEhk4vjF7q
πŸƒ starting node 12D3KooWMgLTrRAtP9HcUYTtsZNf27z5uKt3xJKXsSS2ohhPGnAm
πŸ‘› funding nilchain keys
πŸ“ nillion CLI configuration written to /Users/steph/Library/Application Support/nillion.nillion/config.yaml
πŸŒ„ environment file written to /Users/steph/Library/Application Support/nillion.nillion/nillion-devnet.env

Copy the path printed after "πŸŒ„ environment file written to" and open the file to see your local devnet network configuration