-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.env.example
49 lines (37 loc) · 2.8 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
# Learn how to get your app's client ID, client secret and API key from https://docs.niftory.com/home/v/api/core-concepts/authentication/using-your-api-key
NEXT_PUBLIC_API_KEY="beYyMaLIucJIt6CPFCAni2L0mYQ7nXnllNLYKVAgcTM="
NEXT_PUBLIC_CLIENT_ID="NiftorySampleApp"
# Never share the client secret with anyone, and don't commit the .env file containing the secret. Consider using something like Vercel to manage your app deployments and environment variables.
# For more information see: https://docs.niftory.com/home/v/api/core-concepts/authentication/configuring-your-app#client-secret
CLIENT_SECRET="super_secret_client_secret_that_is_unique_to_your_app_DO_NOT_SHARE_OR_COMMIT"
# See https://docs.niftory.com/home/v/api/reference/graphql-and-auth-endpoints
# testnet endpoints are _.staging.niftory.com, and mainnet ones are the same but without 'staging' (i.e. _.niftory.com).
NIFTORY_AUTH_ISSUER="https://auth.staging.niftory.com"
NEXT_PUBLIC_API_PATH="https://graphql.api.staging.niftory.com"
# If you use next-auth like the sample app does, set this to be the canonical URL of your site.
# When developing locally, you can set this to "http://localhost:<port>"
# Learn more at https://next-auth.js.org/configuration/options#nextauth_url
NEXTAUTH_URL="http://localhost:3000"
# As above, this is specific to next-auth, used to encrypt cookies. https://next-auth.js.org/configuration/options#secret
# You can generate a unique ID by running `openssl rand -base64 32`
NEXTAUTH_SECRET="OBDgu7htVoon39p08A4mzGecSmiVga8InIuJ6abF0/g="
# For the Flow blockchain, testnet access node is "https://access-testnet.onflow.org", and mainnet is "https://access.onflow.org"
# https://docs.onflow.org/faq/developers/#using-the-sdks
NEXT_PUBLIC_FLOW_ACCESS_API="https://access-testnet.onflow.org"
# The sample app uses Blocto for wallets. You can use a different provider.
NEXT_PUBLIC_WALLET_API="https://flow-wallet-testnet.blocto.app/authn/"
# The global NFT Contract address. For the Flow blockchain, mainnet contract for NonFungibleToken is 0x1d7e57aa55817448, and testnet is 0x631e88ae7f1d7c20
# See https://docs.onflow.org/core-contracts/non-fungible-token/
NEXT_PUBLIC_NFT_ADDRESS="0x631e88ae7f1d7c20"
# The following values are required for Niftory
# Testnet - Niftory: 0x04f74f0252479aed, Registry: 0x6085ae87e78e1433
# Mainnet - Niftory: 0x7ec1f607f0872a9e, Registry: 0x32d62d5c43ad1038
NEXT_PUBLIC_NIFTORY_ADDRESS="0x04f74f0252479aed"
NEXT_PUBLIC_REGISTRY_ADDRESS="0x6085ae87e78e1433"
# Set this to be your flowscan url
NEXT_PUBLIC_FLOW_SCAN_URL="https://testnet.flowscan.org"
# Set this to be your app environment i.e. (test,development,production)
NEXT_PUBLIC_ENV="development"
# The public URL of your application
NEXT_PUBLIC_VERCEL_URL="mint.niftory.com"
# For more information, head over to the Niftory API docs: https://docs.niftory.com/home/v/api/