-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
22 lines (18 loc) · 1.25 KB
/
.env.example
File metadata and controls
22 lines (18 loc) · 1.25 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# @commandlayer/runtime-core — environment variables
#
# Copy this file to .env and fill in real values before running local scripts.
# NEVER commit .env to version control.
# ── ENS / RPC ──────────────────────────────────────────────────────────────────
# Ethereum JSON-RPC endpoint used by resolveSignerFromENS.
# Required when calling resolveSignerFromENS in production.
# Example: Infura, Alchemy, or a local node.
RPC_URL=https://mainnet.infura.io/v3/YOUR_PROJECT_ID
# ── Ed25519 signing keys ───────────────────────────────────────────────────────
# PEM-encoded Ed25519 private key for signing receipts.
# Generate with: node -e "const {generateEd25519KeyPair}=require('@commandlayer/runtime-core'); const kp=generateEd25519KeyPair(); console.log(kp.privateKeyPem);"
SIGNING_PRIVATE_KEY_PEM=
# PEM-encoded Ed25519 public key for verifying receipts.
SIGNING_PUBLIC_KEY_PEM=
# ENS name of the signer (must have cl.sig.pub TXT record set to the public key above).
# Example: runtime.commandlayer.eth
SIGNER_ENS_NAME=