Network Configuration
Testnetβ
Use the Testnet configuration to connect to the integrated Nillion Testnet. Check out Testnet wallet and faucet guides here.
- Network Table
- Python .env
- React .env
πCopy Python Testnet Configuration
NILLION_CLUSTER_ID=b13880d3-dde8-4a75-a171-8a1a9d985e6c NILLION_BOOTNODE_MULTIADDRESS=/dns/node-1.testnet-photon.nillion-network.nilogy.xyz/tcp/14111/p2p/12D3KooWCfFYAb77NCjEk711e9BVe2E6mrasPZTtAjJAPtVAdbye NILLION_NILCHAIN_CHAIN_ID=nillion-chain-testnet-1 NILLION_NILCHAIN_GRPC=https://testnet-nillion-grpc.lavenderfive.com NILLION_NILCHAIN_PRIVATE_KEY_0=YOUR_TESTNET_FUNDED_PRIVATE_KEY
πCopy ReactJs Testnet Configuration
REACT_APP_API_BASE_PATH=/nilchain-proxy REACT_APP_NILLION_CLUSTER_ID=b13880d3-dde8-4a75-a171-8a1a9d985e6c REACT_APP_NILLION_BOOTNODE_WEBSOCKET=/dns/node-1.testnet-photon.nillion-network.nilogy.xyz/tcp/14211/wss/p2p/12D3KooWCfFYAb77NCjEk711e9BVe2E6mrasPZTtAjJAPtVAdbye REACT_APP_NILLION_NILCHAIN_CHAIN_ID=nillion-chain-testnet-1 REACT_APP_NILLION_NILCHAIN_JSON_RPC=http://65.109.222.111:26657 REACT_APP_NILLION_NILCHAIN_REST_API=https://testnet-nillion-api.lavenderfive.com REACT_APP_NILLION_NILCHAIN_PRIVATE_KEY=YOUR_TESTNET_FUNDED_PRIVATE_KEY
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