Skip to content

Commit 41f6b79

Browse files
committed
Dashboard: Remove unused envs from examples and turbo config
1 parent e1ad7da commit 41f6b79

File tree

2 files changed

+24
-61
lines changed

2 files changed

+24
-61
lines changed

apps/dashboard/.env.example

Lines changed: 22 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,22 @@
1-
#
21
# Public (client)
3-
#
4-
5-
# API authorized domain
6-
# not required to build, defaults to prod
7-
NEXT_PUBLIC_THIRDWEB_DOMAIN="localhost:3000"
2+
# ------------------------------------------------------------------------
83

94
# API host. For local development, please use "https://api.thirdweb-dev.com"
105
# otherwise: "https://api.thirdweb.com"
6+
# local host - http://127.0.0.1:3005
117
NEXT_PUBLIC_THIRDWEB_API_HOST="https://api.thirdweb-dev.com"
128

139
# Bridge API. For local development, please use "https://bridge.thirdweb-dev.com"
1410
# otherwise: "https://bridge.thirdweb.com"
1511
NEXT_PUBLIC_THIRDWEB_BRIDGE_HOST="https://bridge.thirdweb-dev.com"
1612

17-
# Paper API host
13+
# in-app wallet host
1814
NEXT_PUBLIC_THIRDWEB_EWS_API_HOST="https://ews.thirdweb-dev.com"
1915

20-
# thirdweb local api host
21-
# NEXT_PUBLIC_THIRDWEB_API_HOST="http://127.0.0.1:3005"
22-
23-
# Client ID
24-
# Get the client id from https://thirdweb.com/create-api-key and set it here,
16+
# Client ID - Required
17+
# Get the client id from https://thirdweb.com/create-api-key and set it here, and also set DASHBOARD_SECRET_KEY below
2518
# make sure to allow localhost:3000 in the allowed origins
26-
NEXT_PUBLIC_DASHBOARD_CLIENT_ID="<replace_me_with_your_client_id>"
19+
NEXT_PUBLIC_DASHBOARD_CLIENT_ID=""
2720

2821
# IPFS gateway url
2922
NEXT_PUBLIC_IPFS_GATEWAY_URL="https://{clientId}.thirdwebstorage-dev.com/ipfs/{cid}/{path}"
@@ -39,54 +32,37 @@ NEXT_PUBLIC_TYPESENSE_CONTRACT_API_KEY=
3932
# - not required for prod/staging
4033
NEXT_PUBLIC_POSTHOG_KEY=""
4134

42-
# Stripe Customer portal
43-
NEXT_PUBLIC_STRIPE_KEY=
44-
45-
NEXT_PUBLIC_STRIPE_PAYMENT_METHOD_CFG_ID=
46-
47-
#
48-
# Private (server)
49-
#
50-
# Get the secret key from https://thirdweb.com/create-api-key and set it here, Make sure to allow localhost:3000 in the allowed origins
51-
DASHBOARD_SECRET_KEY="<replace_me_with_your_secret_key>"
52-
53-
# Client id for api routes
54-
API_ROUTES_CLIENT_ID=
35+
# required for server wallet management
36+
NEXT_PUBLIC_THIRDWEB_VAULT_URL=""
37+
NEXT_PUBLIC_ENGINE_CLOUD_URL=""
5538

39+
# Upload server url
40+
NEXT_PUBLIC_DASHBOARD_UPLOAD_SERVER="https://storage.thirdweb-preview.com"
5641

42+
# Demo Engine - required for showing demo engine page
43+
NEXT_PUBLIC_DEMO_ENGINE_URL=""
5744

58-
# Hubspot Access Token (used for contact us form)
59-
# - not required to build (unless testing contact us form)>
60-
HUBSPOT_ACCESS_TOKEN=
6145

62-
# Upload server url
63-
NEXT_PUBLIC_DASHBOARD_UPLOAD_SERVER="https://storage.thirdweb-preview.com"
46+
# Private (server)
47+
# ------------------------------------------------------------------------
6448

65-
# Unthread variables - only required for submitting the support form in /support
66-
UNTHREAD_API_KEY=""
67-
UNTHREAD_TRIAGE_CHANNEL_ID=""
68-
UNTHREAD_EMAIL_INBOX_ID=""
69-
UNTHREAD_FREE_TIER_ID=""
70-
UNTHREAD_GROWTH_TIER_ID=""
71-
UNTHREAD_PRO_TIER_ID=""
49+
# Get the secret key from https://thirdweb.com/create-api-key and set it here and also set NEXT_PUBLIC_DASHBOARD_CLIENT_ID above,
50+
# Make sure to allow localhost:3000 in the allowed origins
51+
DASHBOARD_SECRET_KEY="<replace_me_with_your_secret_key>"
7252

73-
# Demo Engine
74-
NEXT_PUBLIC_DEMO_ENGINE_URL=""
53+
# Client id for api routes - required for contract OG image generation
54+
API_ROUTES_CLIENT_ID=
7555

7656
# API server secret (required for thirdweb.com SIWE login). Copy from Vercel.
7757
API_SERVER_SECRET=""
7858

79-
# Used for the Faucet page (/<chain_id>)
59+
# Used in faucet on chain page (/<chain-id>) and login page (/login) - turnstile is disabled in localhost development
8060
NEXT_PUBLIC_TURNSTILE_SITE_KEY=""
8161
TURNSTILE_SECRET_KEY=""
62+
8263
REDIS_URL=""
8364

8465
ANALYTICS_SERVICE_URL=""
8566

86-
8767
# required for billing parts of the dashboard (team -> settings -> billing / invoices)
8868
STRIPE_SECRET_KEY=""
89-
90-
# required for server wallet management
91-
NEXT_PUBLIC_THIRDWEB_VAULT_URL=""
92-
NEXT_PUBLIC_ENGINE_CLOUD_URL=""

turbo.json

Lines changed: 2 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -72,37 +72,24 @@
7272
"dependsOn": ["^build"],
7373
"env": [
7474
"SENTRY_AUTH_TOKEN",
75-
"MORALIS_API_KEY",
76-
"ETHERSCAN_KEY",
77-
"SSR_ALCHEMY_KEY",
7875
"BEEHIIV_API_KEY",
79-
"GITHUB_API_TOKEN",
80-
"LUMA_API_KEY",
81-
"HUBSPOT_ACCESS_TOKEN",
8276
"API_ROUTES_CLIENT_ID",
8377
"DASHBOARD_SECRET_KEY",
8478
"SIMPLEHASH_API_KEY",
85-
"NEYNAR_API_KEY",
8679
"THIRDWEB_ENGINE_URL",
8780
"THIRDWEB_ACCESS_TOKEN",
8881
"THIRDWEB_ENGINE_ACCESS_TOKEN",
89-
"DEGEN_THIRDWEB_ENGINE_WALLET",
9082
"THIRDWEB_ENGINE_WALLET",
91-
"UNTHREAD_TRIAGE_CHANNEL_ID",
92-
"UNTHREAD_EMAIL_INBOX_ID",
93-
"UNTHREAD_FREE_TIER_ID",
94-
"UNTHREAD_GROWTH_TIER_ID",
95-
"UNTHREAD_PRO_TIER_ID",
9683
"REDIS_URL",
97-
"UNTHREAD_API_KEY",
98-
"CHAINSAW_API_KEY",
9984
"ANALYTICS_SERVICE_URL",
10085
"DISABLE_FAUCET_CHAIN_IDS",
10186
"API_SERVER_SECRET",
10287
"TURNSTILE_SECRET_KEY",
10388
"NEXT_PUBLIC_TURNSTILE_SITE_KEY",
10489
"NEXT_PUBLIC_THIRDWEB_ENGINE_FAUCET_WALLET",
10590
"NEXT_PUBLIC_NEBULA_URL",
91+
"INSIGHT_SERVICE_API_KEY",
92+
"STRIPE_SECRET_KEY",
10693
"INSIGHT_SERVICE_API_KEY"
10794
],
10895
"outputs": [".next/**", "!.next/cache/**"]

0 commit comments

Comments
 (0)