-
Notifications
You must be signed in to change notification settings - Fork 32
/
.env.example
60 lines (50 loc) · 2.57 KB
/
.env.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
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
# =============================================
# Public variables (exposed on the frontend)
# =============================================
# MultiversX chain (can be devnet, testnet, mainnet)
NEXT_PUBLIC_MULTIVERSX_CHAIN = devnet
# Wallet Connect 2 Project Id. This one will work only with this project
# Get yours at: https://cloud.walletconnect.com/sign-in
NEXT_PUBLIC_WC_PROJECT_ID = 559caed757a8bc36522ec786b2af1b9b
#
# Either the public API endpoint of your MultiversX api
# or the masked proxy that will be used instead.
#
# You have three options:
#
# 1. By commenting this out the dapp will use the default
# MultiversX api endpoint (e.g. https://devnet-api.multiversx.com)
#
# Note: MULTIVERSX_PRIVATE_API needs to be removed/commented out.
#
# 2. Set this to an absolute address to use a custom MultiversX api endpoint
# (e.g. http://dev.mydomain.com)
#
# Note: MULTIVERSX_PRIVATE_API needs to be removed/commented out.
#
# 3. Enter a relative path to proxy/mask your MultiversX api endpoint (e.g. /api/multiversx)
# Only current instance of the Dapp can use it if only API_ALLOWED_DAPP_HOST is set.
#
# Note: MULTIVERSX_PRIVATE_API must include the actual MultiversX API endpoint.
#
# NEXT_PUBLIC_MULTIVERSX_API = /api/multiversx
# This is basically the main domain of your dapp
NEXT_PUBLIC_DAPP_HOST = http://localhost:3000
# The Elven Tools NFT minter smart contract (provide your own smart contract deployed on proper chain defined in NEXT_PUBLIC_MULTIVERSX_CHAIN)
NEXT_PUBLIC_NFT_SMART_CONTRACT = erd1qqqqqqqqqqqqqpgqufmyqvy3kvda2uywqgx809lglxftq9t667es3956pv
# The name for the mint endpoint (change it if you have change it in the smart contract)
NEXT_PUBLIC_MINT_FUNCTION_NAME = 'mint'
# The Elven Tools NFT minter base gas limit for the 'mint' endpoint (adjust it for a modified smart contract)
NEXT_PUBLIC_MINT_BASE_GAS_LIMIT = 14000000
# =============================================
# Private variables (used on backend)
# =============================================
# The MultiversX api endpoint, that is being masked/proxied.
# This can be either a custom api endpoint or the default MultiversX api endpoint.
# You will have to delete this or comment this out, if you don't wanna
# mask / proxy your MultiversX api endpoint.
# MULTIVERSX_PRIVATE_API = https://devnet-api.multiversx.com
# Only this host will be allowed to consume the API (optional)
# It will work only inside the Dapp, no one will be able to use the endpoint, even in browser
# When commented the API will be available for testing through browser, Postman etc.
API_ALLOWED_DAPP_HOST = http://localhost:3000