-
Notifications
You must be signed in to change notification settings - Fork 7
/
dapp.config.js
59 lines (55 loc) · 1.41 KB
/
dapp.config.js
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
const FORTMATIC_KEY = process.env.NEXT_PUBLIC_FORTMATIC_KEY
const RPC_URL = process.env.NEXT_PUBLIC_ALCHEMY_RPC_URL
const config = {
title: 'BoredApe Dapp',
description: 'A showcase dapp which is built for you to create your own',
contractAddress: '0x923130181b7F075cBebFc9743D6e923646FD9148',
maxMintAmount: 10,
presaleMaxMintAmount: 3,
price: 0.01
}
const onboardOptions = {
dappId: process.env.NEXT_PUBLIC_DAPP_ID,
networkId: 4, // Rinkeby
darkMode: true,
walletSelect: {
wallets: [
{ walletName: 'metamask', preferred: true },
{ walletName: 'coinbase', preferred: true },
{
walletName: 'walletLink',
preferred: true,
rpcUrl: RPC_URL,
appName: 'BoredApe Dapp'
},
{
walletName: 'fortmatic',
apiKey: FORTMATIC_KEY,
preferred: true
},
{ walletName: 'trust', preferred: true, rpcUrl: RPC_URL },
{ walletName: 'gnosis', preferred: true },
{ walletName: 'authereum' },
{
walletName: 'ledger',
rpcUrl: RPC_URL
},
{
walletName: 'lattice',
rpcUrl: RPC_URL,
appName: 'BoredApe Dapp'
},
{
walletName: 'keepkey',
rpcUrl: RPC_URL
}
]
},
walletCheck: [
{ checkName: 'derivationPath' },
{ checkName: 'accounts' },
{ checkName: 'connect' },
{ checkName: 'network' }
]
}
export { config, onboardOptions }