Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
18 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 40 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# ASDForecast Environment Variables
# Copy this file to .env and fill in your values

# ===================
# REQUIRED
# ===================

# Helius API key for Solana RPC (https://helius.dev)
HELIUS_API_KEY=your_helius_api_key

# House wallet keypair as JSON array (for payouts)
# Generate with: solana-keygen new --outfile house-wallet.json
SOLANA_WALLET_JSON={"privateKey":[1,2,3,...]}

# Admin password for control panel endpoints
ADMIN_ACTION_PASSWORD=your_secure_password

# ===================
# OPTIONAL
# ===================

# Server port (default: 3000)
PORT=3000

# CoinGecko API key for price data (https://coingecko.com/api)
COINGECKO_API_KEY=

# Jupiter API key (optional, for token prices)
JUPITER_API_KEY=

# ===================
# IMAGES (optional)
# ===================

# Custom images for the frontend
BASE_IMAGE_SRC=
ITSFINE_IMG_SRC=
ITSOVER_IMG_SRC=
SENTIMENT_UP_IMG_SRC=
SENTIMENT_DOWN_IMG_SRC=
53 changes: 53 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
# Dependencies
node_modules/

# Environment variables
.env
.env.local
.env.*.local

# Data persistence (production data)
data/
/var/data/

# Wallet keys (NEVER commit)
*.json.key
house-wallet.json
*-wallet.json
*-keypair.json

# Logs
logs/
*.log
npm-debug.log*

# OS generated files
.DS_Store
.DS_Store?
._*
.Spotlight-V100
.Trashes
ehthumbs.db
Thumbs.db

# IDE / Editor
.idea/
.vscode/
*.swp
*.swo
*~

# Build outputs
dist/
build/

# Test coverage
coverage/

# Temporary files
tmp/
temp/
*.tmp

# Package lock (optional - uncomment if you want to ignore)
# package-lock.json
Loading