<<<<<<< HEAD # Copy this file to `.env` and fill in values. # This project loads env vars via `dotenv/config` (see `src/cli.ts`). # ----------------------------------------------------------------------------- # Required for most commands # ----------------------------------------------------------------------------- # Strong password for the encrypted LevelDB private state store PRIVATE_STATE_PASSWORD=Str0ng!MidnightLocal # Wallet seed as 64 hex chars (no 0x prefix). Keep this secret. WALLET_SEED=0000000000000000000000000000000000000000000000000000000000000000 # ----------------------------------------------------------------------------- # Network selection # ----------------------------------------------------------------------------- # Use `local` for localnet, otherwise defaults to `preprod` MIDNIGHT_NETWORK=local # For localnet this repo defaults to `undeployed`; for preprod it defaults to `preprod` MIDNIGHT_NETWORK_ID=undeployed # ----------------------------------------------------------------------------- # Optional: override endpoints (defaults are set in `src/utils.ts`) # ----------------------------------------------------------------------------- # Localnet defaults: # MIDNIGHT_INDEXER_HTTP=http://127.0.0.1:8088/api/v4/graphql # MIDNIGHT_INDEXER_WS=ws://127.0.0.1:8088/api/v4/graphql/ws # MIDNIGHT_NODE_HTTP=http://127.0.0.1:9944 # MIDNIGHT_NODE_WS=ws://127.0.0.1:9944 # MIDNIGHT_PROOF_SERVER=http://127.0.0.1:6300 # Preprod defaults: ======= # Midnight Network Configuration # Set to 'local' for localnet or 'preprod' for preprod network MIDNIGHT_NETWORK=local # Localnet endpoints (used when MIDNIGHT_NETWORK=local) MIDNIGHT_INDEXER_HTTP=http://127.0.0.1:8088/api/v4/graphql MIDNIGHT_INDEXER_WS=ws://127.0.0.1:8088/api/v4/graphql/ws MIDNIGHT_NODE_HTTP=http://127.0.0.1:9944 MIDNIGHT_NODE_WS=ws://127.0.0.1:9944 MIDNIGHT_PROOF_SERVER=http://127.0.0.1:6300 # Preprod endpoints (used when MIDNIGHT_NETWORK=preprod) >>>>>>> 67daf5bbe9779ccbf2a055e79d9ec8a33aa3a819 # MIDNIGHT_INDEXER_HTTP=https://indexer.preprod.midnight.network/api/v3/graphql # MIDNIGHT_INDEXER_WS=wss://indexer.preprod.midnight.network/api/v3/graphql/ws # MIDNIGHT_NODE_HTTP=https://rpc.preprod.midnight.network # MIDNIGHT_NODE_WS=wss://rpc.preprod.midnight.network # MIDNIGHT_PROOF_SERVER=http://127.0.0.1:6300 <<<<<<< HEAD ======= # Required: Strong password for encrypted private state storage PRIVATE_STATE_PASSWORD=Str0ng!MidnightLocal2026 # Optional: Override default deploy seed # DEPLOY_SEED=your_hex_seed_here >>>>>>> 67daf5bbe9779ccbf2a055e79d9ec8a33aa3a819