Skip to content

Commit d3fa1c4

Browse files
Merge pull request #386 from BootNodeDev/develop
chore: update to latest version
2 parents a4b3999 + fd38082 commit d3fa1c4

1 file changed

Lines changed: 44 additions & 5 deletions

File tree

.env.example

Lines changed: 44 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,14 @@
11
# Env variables are pre-processed and "type-safed" in /src/env.ts
22
# So, if you decide to add a new variable, you HAVE to define it there, to be able to consume it in the app.
33

4-
# App information
54
# App's name. Mandatory.
65
PUBLIC_APP_NAME="dAppBooster"
76
# App's description. Optional.
8-
PUBLIC_APP_DESCRIPTION="A modern blockchain boilerplate built to quickly get you started with your next project."
7+
PUBLIC_APP_DESCRIPTION=''
98
# App's URL. Optional.
10-
PUBLIC_APP_URL=https://dappbooster.vercel.app/
9+
PUBLIC_APP_URL=''
1110
# App's logo. Optional.
12-
PUBLIC_APP_LOGO=https://dappbooster.vercel.app/appLogo.svg
11+
PUBLIC_APP_LOGO=''
1312
# Include testnets. Optional.
1413
PUBLIC_INCLUDE_TESTNETS=true
1514

@@ -22,7 +21,7 @@ PUBLIC_WALLETCONNECT_PROJECT_ID=
2221
# Native token address
2322
PUBLIC_NATIVE_TOKEN_ADDRESS=0x0000000000000000000000000000000000000000
2423

25-
# RPCs. If you want to use an RPC different from the one provided by wagmi.
24+
# RPCs. Complete if you want to use a different RPC from the one provided by wagmi.
2625
PUBLIC_RPC_ARBITRUM=
2726
PUBLIC_RPC_ARBITRUM_SEPOLIA=
2827
PUBLIC_RPC_BASE=
@@ -35,3 +34,43 @@ PUBLIC_RPC_OPTIMISM_SEPOLIA=
3534
PUBLIC_RPC_POLYGON=
3635
PUBLIC_RPC_POLYGON_MUMBAI=
3736
PUBLIC_RPC_SEPOLIA=
37+
38+
# Subgraph
39+
###########################################################
40+
###########################################################
41+
# IMPORTANT #
42+
# If you miss to explicitly set ANY of the env vars, #
43+
# the script will SKIP the codegen and the app will #
44+
# likely crash... #
45+
###########################################################
46+
###########################################################
47+
#
48+
# You need to provide your own API key, get one at https://thegraph.com/studio/apikeys/
49+
PUBLIC_SUBGRAPHS_API_KEY=
50+
# 'development' or 'production'
51+
PUBLIC_SUBGRAPHS_ENVIRONMENT='production'
52+
#
53+
# Subgraph chains resource ids: a comma separated list consisting of <chainId>:<subgraphId>:<resourceId>
54+
#
55+
# These are the resource ids we use for our demos, change for your own.
56+
# We use individual vars for convenience and readability, and later join them in PUBLIC_SUBGRAPHS_CHAINS_RESOURCE_IDS
57+
#
58+
UNISWAP_ARB=42161:uniswap:FQ6JYszEKApsBpAmiHesRsd9Ygc6mzmpNRANeVQFYoVX
59+
UNISWAP_POLYGON=137:uniswap:BvYimJ6vCLkk63oWZy7WB5cVDTVVMugUAF35RAUZpQXE
60+
UNISWAP_OP=10:uniswap:EgnS9YE1avupkvCNj9fHnJxppfEmNNywYJtghqiu2pd9
61+
AAVE_BASE=8453:aave:GQFbb95cE6d8mV989mL5figjaGaKCQB3xqYrr1bRyXqF
62+
63+
# Join in PUBLIC_SUBGRAPHS_CHAINS_RESOURCE_IDS
64+
PUBLIC_SUBGRAPHS_CHAINS_RESOURCE_IDS='$UNISWAP_ARB,$UNISWAP_POLYGON,$UNISWAP_OP,$AAVE_BASE'
65+
66+
# Subgraph URLs
67+
# Must have the replaceable strings [apiKey], [resourceId], and optionally [subgraphId]
68+
#
69+
# These are the subgraph URLs used in our demos, change for your own subgraph URLs.
70+
#
71+
# Development:
72+
# e.g.: PUBLIC_SUBGRAPHS_DEVELOPMENT_URL='https://api.studio.thegraph.com/query/[apiKey]/[subgraphId]/[resourceId]'
73+
PUBLIC_SUBGRAPHS_DEVELOPMENT_URL='https://api.studio.thegraph.com/query/[apiKey]/[subgraphId]/[resourceId]'
74+
# Production:
75+
# e.g.: PUBLIC_SUBGRAPHS_PRODUCTION_URL='https://name.network.thegraph.com/api/[apiKey]/subgraphs/id/[resourceId]'
76+
PUBLIC_SUBGRAPHS_PRODUCTION_URL='https://gateway-arbitrum.network.thegraph.com/api/[apiKey]/subgraphs/id/[resourceId]'

0 commit comments

Comments
 (0)