forked from christianbaroni/mint-page-template
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.env.local.example
26 lines (21 loc) · 1.46 KB
/
.env.local.example
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
NEXT_PUBLIC_BASE_URL=http://localhost:3000
# This will be used to replace ipfs:// in IPFS urls, if left blank it will default to using 'https://ipfs.io/ipfs/'
NEXT_PUBLIC_IMAGE_HOST=
# If your image host needs file extensions after the IPFS hash, you can add it here (ie. .jpg)
NEXT_PUBLIC_IMAGE_HOST_APPEND=
# First create a new project on Alchemy, and grab the API Key from the project dashboard (under 'View Key')
NEXT_PUBLIC_ALCHEMY_ID=_gg7wSSi0KMBsdKnGVfHDueq6xMB9EkC
# 1 = mainnet, 4 = rinkeby, 5 = goerli, 1337 = hardhat (local)
NEXT_PUBLIC_CHAIN_ID=5
# Comma-separated for multiple contracts
NEXT_PUBLIC_CONTRACT_ADDRESSES=0x7619e9a4eefc20fa71f13d66e5f8f303cdb0bd9e
# You can easily grab all of the edition contract addresses created by a single wallet by running the following command in a terminal, replacing `0x17cd072cBd45031EFc21Da538c783E0ed3b25DCc` with the desired wallet address (requires python).
#
# Rinkeby subgraph: https://api.thegraph.com/subgraphs/name/iainnash/erc721droprinkeby
# Goerli subgraph: https://api.thegraph.com/subgraphs/name/iainnash/erc721drop-goerli
#
# curl -s 'https://api.thegraph.com/subgraphs/name/iainnash/zora-editions-mainnet' \
# -X POST -H 'content-type: application/json' \
# --data '{
# "query": "{erc721Drops(where: { owner: \"0x17cd072cBd45031EFc21Da538c783E0ed3b25DCc\", }) { address}}"
# }' | python3 -c "import sys, json; print(','.join(list(map(lambda x: x['address'], json.load(sys.stdin)['data']['erc721Drops']))))"