-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathadditional.d.ts
69 lines (65 loc) · 2.55 KB
/
additional.d.ts
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
61
62
63
64
65
66
67
68
69
interface Window {
ethereum: any;
}
declare namespace NodeJS {
export interface ProcessEnv {
NEXT_PUBLIC_ENVIRONMENT: string;
NEXT_PUBLIC_UNLEASH_PROXY_HOST: string;
NEXT_PUBLIC_UNLEASH_PROXY_CLIENT_KEY: string;
NEXT_PUBLIC_GOOGLE_TAG_MANAGER_ID: string;
NEXT_PUBLIC_WALLETCONNECT_PROJECT_ID: string;
NEXT_PUBLIC_MAINNET_GRAPHQL_URL: string;
NEXT_PUBLIC_SEPOLIA_GRAPHQL_URL: string;
/**
* the node-rpc endpoint to access ethereum mainnet network.
* Default to https://rpc.ankr.com/eth
*/
NEXT_PUBLIC_RPC_URL_1: string;
/**
* the node-rpc endpoint to access ethereum sepolia network.
* Default to 'https://rpc.ankr.com/eth_sepolia'
*/
NEXT_PUBLIC_RPC_URL_11155111: string;
/**
* the node-rpc endpoint to your local node (e.g. foundry).
* Default to http://localhost:8545
*/
NEXT_PUBLIC_RPC_URL_31337: string;
/**
* The fully-qualifies domain name of your deployed DAPP.
* @description It is strongly recommended to supply a dappUrl to the WalletConnect initial config
* as it is required by some wallets (i.e. MetaMask) to allow connection.
*/
NEXT_PUBLIC_DAPP_URL: string;
/**
* Usually a subgraph ENS graphql URL with your own API/key.
* More info at {@link https://thegraph.com/explorer/subgraphs/5XqPmWe6gjyrJtFn9cLy237i4cWw2j9HcUJEXsP5qGtH?view=Query&chain=arbitrum-one}
*/
ENS_GRAPHQL_URL: string;
/**
* Storage to be used (e.g. ens information). It can have the following formats
* remote service: libsql://{database-name}-{company-name}.turso.io or
* local development: file:{path-to-your-local-file}.db
*/
TURSO_DATABASE_URL: string;
/**
* Only necessary when using the Turso platform. For development
* with local db it is not necessary.
*/
TURSO_AUTH_TOKEN?: string;
/**
* A node to fetch mainnet blockchain information. e.g. Alchemy / Infura. Not exposed to the client.
*/
HTTP_MAINNET_NODE_RPC: string;
/**
* should be a number that set when ENS information about an address
* is considered staled.
*/
ENS_ENTRY_TTL: string;
/**
* An authorization header value passed down by a CRON service calling
* functions under /api/cron/*. It can be any agreed value.
*/
CRON_SECRET: string;
}
}