-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
54 lines (48 loc) · 2.63 KB
/
.env.example
File metadata and controls
54 lines (48 loc) · 2.63 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
# ==============================================================================
# OpenGradient Cookbook — Environment Variables Template
# ==============================================================================
# Copy this file to .env and fill in your values:
# cp .env.example .env
#
# ⚠️ SECURITY WARNINGS:
# 1. NEVER commit your .env file — it is listed in .gitignore
# 2. OG_PRIVATE_KEY MUST be a TESTNET-ONLY wallet — never use mainnet funds
# 3. Get test $OPG tokens at: https://faucet.opengradient.ai
# ==============================================================================
# ------------------------------------------------------------------------------
# OpenGradient Wallet (TESTNET ONLY)
# ------------------------------------------------------------------------------
# Private key of your testnet wallet. This pays for LLM inference gas in $OPG
# on Base Sepolia (Chain ID: 84532).
# Generate a fresh wallet at: https://app.safe.global or use MetaMask
OG_PRIVATE_KEY=0xYOUR_TESTNET_PRIVATE_KEY_HERE
# ------------------------------------------------------------------------------
# OpenGradient Model Hub Credentials
# ------------------------------------------------------------------------------
# Register at: https://hub.opengradient.ai
# Required for: Model Hub management + ML inference (alpha testnet)
OG_EMAIL=your@email.com
OG_PASSWORD=your_model_hub_password
# ------------------------------------------------------------------------------
# MemSync API Key
# ------------------------------------------------------------------------------
# Register at: https://app.memsync.ai/dashboard/api-keys
# Required for: snippets/07_memsync_personalized_bot.py and memsync-chatbot boilerplate
MEMSYNC_API_KEY=your_memsync_api_key_here
# ------------------------------------------------------------------------------
# Base Sepolia Network Configuration
# ------------------------------------------------------------------------------
RPC_URL=https://sepolia.base.org
CHAIN_ID=84532
OPG_TOKEN_CONTRACT=0x240b09731D96979f50B2C649C9CE10FcF9C7987F
# ------------------------------------------------------------------------------
# Digital Twins — Twin.fun
# ------------------------------------------------------------------------------
# Sample twin ID for testing the digital-twins-tracker boilerplate.
# Find twin IDs at: https://twin.fun
# Format: bytes16 hex string WITHOUT 0x prefix
SAMPLE_TWIN_ID=85f4f72079114bfcac1003134e5424f4
# ------------------------------------------------------------------------------
# Application Settings
# ------------------------------------------------------------------------------
LOG_LEVEL=INFO