-
Notifications
You must be signed in to change notification settings - Fork 2
/
dapp.config.js
56 lines (51 loc) · 1.4 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
const RPC_URL = process.env.NEXT_PUBLIC_URL
/* global BigInt*/
const config = {
title: 'dexbattle official minting website',
description: 'dexbattle minting website',
tokenContract: '0xD946e2db35bA6e2aC40F4D68a270a08c05BAe539',
nftContract: '0x3C7DA571076b3d72489569ac2A286E5D066b4866',
exchangeContract: '0x8ff92F5289414dA81eF95f165ac46d8f0Dd50a01',
nftwithDexContract: '0x76A28d82B62Aa454A3f366C5F08ce43355849897'
}
const onboardOptions = {
dappId: process.env.NEXT_PUBLIC_DAPP_ID,
networkId: 56, // bnb mainnet
darkMode: true,
walletSelect: {
description:'Plaese select a wallet',
wallets: [
{ walletName: 'metamask', preferred: true },
{ walletName: 'coinbase', preferred: true },
{
walletName: 'walletLink',
preferred: true,
rpcUrl: RPC_URL,
appName: 'dex Dapp'
},
{ walletName: 'trust', preferred: true, rpcUrl: RPC_URL },
{ walletName: 'gnosis'},
{ walletName: 'authereum' },
{
walletName: 'ledger',
rpcUrl: RPC_URL
},
{
walletName: 'lattice',
rpcUrl: RPC_URL,
appName: 'dex Dapp'
},
{
walletName: 'keepkey',
rpcUrl: RPC_URL
}
]
},
walletCheck: [
{ checkName: 'derivationPath' },
{ checkName: 'accounts' },
{ checkName: 'connect' },
{ checkName: 'network' }
]
}
export { config, onboardOptions }