forked from StabilityNexus/Gluon-Ergo-UI
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
114 lines (102 loc) · 4.52 KB
/
Copy path.env.example
File metadata and controls
114 lines (102 loc) · 4.52 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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
# Gluon Protocol Configuration
# =============================================================================
# QUICK START - Development Workflow
# =============================================================================
# For easy switching between Gluon Gold and Gluon Dollar during development:
#
# Run Gluon Gold:
# bun run dev:gold
#
# Run Gluon Dollar:
# bun run dev:dollar
#
# These commands automatically copy .env.gold or .env.dollar to .env.local
# and start the dev server with the appropriate configuration.
#
# Manual Configuration:
# If you need custom settings, copy this file to .env.local and modify:
# cp .env.example .env.local
# =============================================================================
# Network Configuration
# Options: "mainnet" | "testnet"
NEXT_PUBLIC_DEPLOYMENT=testnet
# Multi-Peg Configuration
# Configure the protocol to support different peg assets (Gold, USD, etc.)
# Protocol name displayed in the navbar
# Default: GLUON GOLD
# Example for Gluon Dollar: GLUON DOLLAR
NEXT_PUBLIC_PROTOCOL_NAME="GLUON GOLD"
# Stable token ticker (internally referred to as "neutron")
# Default: GAU (Gluon Gold)
# Example for Gluon Dollar: GSD
NEXT_PUBLIC_NEUTRON_TICKER=GAU
# Volatile token ticker (internally referred to as "proton")
# Default: GAUC (Gluon Gold Coupon)
# Example for Gluon Dollar: GLYD (Gluon Yield Dollar)
NEXT_PUBLIC_PROTON_TICKER=GAUC
# Peg asset name
# Default: Gold
# Example alternatives: USD, Silver, EUR
NEXT_PUBLIC_PEG_ASSET=Gold
# Peg unit (denomination)
# Default: 1g (1 gram of gold)
# Example alternatives: 1 USD, 1 oz
NEXT_PUBLIC_PEG_UNIT=1g
# Browser tab favicon path (public asset path)
# Default: /logo/gluon.png
# Example for Gluon Dollar: /logo/gluon-green.png
NEXT_PUBLIC_FAVICON=/logo/gluon.png
# Peg description (optional - will be auto-generated if not provided)
# Default: Auto-generated based on PEG_UNIT and PEG_ASSET
# - For \"1g\" + \"Gold\": \"Pegged to 1g of gold.\"
# - For \"1 USD\" + \"USD\": \"Pegged to 1 USD.\" (smart detection)
# Example alternatives: \"Pegged to 1 US Dollar.\", \"Pegged to 1 ounce of silver.\"
# NEXT_PUBLIC_PEG_DESCRIPTION=Pegged to 1 gram of gold.
# Theme colors (optional - fallback to Gold defaults if not set)
# Token color keys use hex; accent/sidebar/chart keys use HSL channels (without hsl()).
# Default primary/glow/stable: #ffd007
# Default volatile: #ff3b3b
NEXT_PUBLIC_THEME_PRIMARY="#ffd007"
NEXT_PUBLIC_THEME_GLOW="#ffd007"
NEXT_PUBLIC_THEME_STABLE_TOKEN="#ffd007"
NEXT_PUBLIC_THEME_VOLATILE_TOKEN="#ff3b3b"
NEXT_PUBLIC_THEME_ACCENT_LIGHT="48 16.129% 93.9216%"
NEXT_PUBLIC_THEME_ACCENT_FOREGROUND_LIGHT="55 100% 40%"
NEXT_PUBLIC_THEME_ACCENT_DARK="30 5.2632% 14.902%"
NEXT_PUBLIC_THEME_ACCENT_FOREGROUND_DARK="48 100% 45.098%"
NEXT_PUBLIC_THEME_BUTTON_HOVER_FOREGROUND_LIGHT="48 88% 42%"
NEXT_PUBLIC_THEME_BUTTON_HOVER_FOREGROUND_DARK="48 90% 58%"
NEXT_PUBLIC_THEME_SIDEBAR_ACCENT_LIGHT="48 100% 96.0784%"
NEXT_PUBLIC_THEME_SIDEBAR_ACCENT_FOREGROUND_LIGHT="22.7273 82.5% 31.3725%"
NEXT_PUBLIC_THEME_SIDEBAR_ACCENT_DARK="22.7273 82.5% 31.3725%"
NEXT_PUBLIC_THEME_SIDEBAR_ACCENT_FOREGROUND_DARK="48 96.6387% 76.6667%"
# Chart tonal palette (HSL channels, no hsl() wrapper)
# Tonal variants used for recharts and other chart elements
# Default Gold values: progressively darker amber shades
NEXT_PUBLIC_THEME_CHART_3="25.9649 90.4762% 37.0588%"
NEXT_PUBLIC_THEME_CHART_4="22.7273 82.5% 31.3725%"
NEXT_PUBLIC_THEME_CHART_5="21.7143 77.7778% 26.4706%"
# Example Configuration for Gluon Dollar:
# NEXT_PUBLIC_PROTOCOL_NAME="GLUON DOLLAR"
# NEXT_PUBLIC_NEUTRON_TICKER=GSD
# NEXT_PUBLIC_PROTON_TICKER=GLYD
# NEXT_PUBLIC_PEG_ASSET=USD
# NEXT_PUBLIC_PEG_UNIT="1 USD"
# NEXT_PUBLIC_PEG_DESCRIPTION="Pegged to 1 US Dollar."
# NEXT_PUBLIC_THEME_PRIMARY="#22c55e"
# NEXT_PUBLIC_THEME_GLOW="#22c55e"
# NEXT_PUBLIC_THEME_STABLE_TOKEN="#22c55e"
# NEXT_PUBLIC_THEME_VOLATILE_TOKEN="#0ea5e9"
# NEXT_PUBLIC_THEME_ACCENT_LIGHT="142 55% 94%"
# NEXT_PUBLIC_THEME_ACCENT_FOREGROUND_LIGHT="142 72% 28%"
# NEXT_PUBLIC_THEME_ACCENT_DARK="145 35% 16%"
# NEXT_PUBLIC_THEME_ACCENT_FOREGROUND_DARK="142 68% 62%"
# NEXT_PUBLIC_THEME_BUTTON_HOVER_FOREGROUND_LIGHT="145 70% 28%"
# NEXT_PUBLIC_THEME_BUTTON_HOVER_FOREGROUND_DARK="142 75% 72%"
# NEXT_PUBLIC_THEME_SIDEBAR_ACCENT_LIGHT="142 60% 95%"
# NEXT_PUBLIC_THEME_SIDEBAR_ACCENT_FOREGROUND_LIGHT="145 70% 28%"
# NEXT_PUBLIC_THEME_SIDEBAR_ACCENT_DARK="145 46% 24%"
# NEXT_PUBLIC_THEME_SIDEBAR_ACCENT_FOREGROUND_DARK="142 75% 72%"
# NEXT_PUBLIC_THEME_CHART_3="142 55% 28%"
# NEXT_PUBLIC_THEME_CHART_4="142 45% 22%"
# NEXT_PUBLIC_THEME_CHART_5="142 40% 18%"