-
Notifications
You must be signed in to change notification settings - Fork 1
/
.env.template
109 lines (86 loc) · 3.02 KB
/
.env.template
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
# Environment
NODE_ENV=development
# Base Configuration
BASE_URL=http://localhost:3000
AUTH_SECRET=supersecretkey
# Database
DATABASE_URL=postgresql://user:password@localhost:5432/bark_db
# Supabase
NEXT_PUBLIC_SUPABASE_URL=your_supabase_url
NEXT_PUBLIC_SUPABASE_ANON_KEY=your_supabase_anon_key
JWT_SECRET=your_jwt_secret
SERVICE_ROLE_SECRET=your_service_role_secret
# Storage
## S3 Connection
AWS_ACCESS_KEY_ID=your_aws_access_key_id
AWS_SECRET_ACCESS_KEY=your_aws_secret_access_key
AWS_REGION=your_aws_region
S3_BUCKET_NAME=your_s3_bucket_name
## Arweave
ARWEAVE_WALLET_JSON=your_arweave_wallet_json
## IPFS - Pinata
PINATA_API_KEY=your_pinata_api_key
PINATA_SECRET_API_KEY=your_pinata_secret_api_key
# API
NEXT_PUBLIC_API_BASE_URL=http://localhost:3000/api/v1
# Expo React Native (mobility)
EXPO_PUBLIC_SUPABASE_URL=your_expo_supabase_url
EXPO_PUBLIC_SUPABASE_ANON_KEY=your_expo_supabase_anon_key
# Redis (for caching)
REDIS_URL=redis://username:password@localhost:6379
UPSTASH_REDIS_REST_URL=your_upstash_redis_rest_url
UPSTASH_REDIS_REST_TOKEN=your_upstash_redis_rest_token
# Logging
LOG_LEVEL=info
# Feature Flags
ENABLE_MARKETPLACE=true
ENABLE_STAKING=true
ENABLE_CROWDFUNDING=true
# Rate Limiting
RATE_LIMIT_MAX=100
RATE_LIMIT_WINDOW_MS=900000
# Authentication (Blinkboard)
NEXTAUTH_SECRET=your_nextauth_secret
NEXTAUTH_URL=http://localhost:3000
JWT_SIGNING_PRIVATE_KEY="-----BEGIN PRIVATE KEY-----\\n-----END PRIVATE KEY-----"
GITHUB_ID=github_client_id
GITHUB_SECRET=github_client_secret
# Solana Configuration
## Network
NEXT_PUBLIC_SOLANA_NETWORK=mainnet-beta
NEXT_PUBLIC_SOLANA_RPC_URL=https://api.mainnet-beta.solana.com
SOLANA_DEVNET_RPC=https://api.devnet.solana.com
## Program IDs
TOKEN_PROGRAM_ID=TokenProgramId
SWAP_PROGRAM_ID=SwapProgramId
STAKING_PROGRAM_ID=YourStakingProgramId
BARK_BLINK_PROGRAM_ID=YourBarkBlinkProgramId
NEXT_PUBLIC_BARK_BLINKS_PROGRAM_ID=2NTvEssJ2i998V2cMGT4Fy3JhyFnAzHFonDo9dbAkVrg
METAPLEX_TOKEN_METADATA_PROGRAM_ID=MetadataProgramId
## Wallet Addresses
NEXT_PUBLIC_DONATION_WALLET=BARKkeAwhTuFzcLHX4DjotRsmjXQ1MshGrZbn1CUQqMo
NEXT_PUBLIC_MERCHANT_WALLET=BARKkeAwhTuFzcLHX4DjotRsmjXQ1MshGrZbn1CUQqMo
NEXT_PUBLIC_TREASURY_WALLET_ADDRESS=gEb7nD9yLkau1P4uyMdke9byJNrat61suH4vYiPUuiR
## Secret Keys
PAYER_SECRET_KEY=your_payer_secret_key
CREATOR_PRIVATE_KEY=your_creator_private_key
# BARK BLINK Configuration
BARK_BLINK_BASE_URL=https://blinks-as-a-service.vercel.app
BARK_BLINK_AUTH_SECRET=${AUTH_SECRET}
# Helius API Configuration
HELIUS_API_URL=https://api.helius.xyz
HELIUS_API_KEY=your_helius_api_key
# Shyft API Configuration
SHYFT_API_URL=https://api.shyft.network
SHYFT_API_KEY=your_shyft_api_key
# Payment Gateways
## Stripe
STRIPE_SECRET_KEY=sk_test_your_stripe_secret_key
STRIPE_WEBHOOK_SECRET=whsec_your_stripe_webhook_secret
STRIPE_PUBLISHABLE_KEY=pk_test_your_stripe_publishable_key
## Solana Pay
SOLANA_PAY_API=your_solana_pay_api_url
# Marketing & Email (Mailchimp)
NEXT_PUBLIC_MAILCHIMP_API_KEY=your_mailchimp_api_key
NEXT_PUBLIC_MAILCHIMP_AUDIENCE_ID=your_audience_id
NEXT_PUBLIC_MAILCHIMP_DATA_CENTER=us1