-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathconfig.example.js
61 lines (61 loc) · 2.43 KB
/
config.example.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
60
61
// it is not recommended to edit this configuration directly, use the provided UI instead
export default {
appNetwork: 'ropsten',
// database
dbHost: '',
dbName: '',
dbUser: '',
dbPass: '',
// Alcehmy API key
alchemyApiKey: '', // e.g. https://eth-mainnet.alchemyapi.io/v2/your_api_key
alchemyApiKeyRopsten: '', // e.g. https://eth-ropsten.alchemyapi.io/v2/your_api_key
// Immutable X Generic Configurations
// to submit a new contract for registration on immutable x use: https://submitcontract.x.immutable.com/
linkSDK: 'https://link.x.immutable.com',
linkSDKRopsten: 'https://link.ropsten.x.immutable.com',
publicApiUrl: 'https://api.x.immutable.com/v1',
publicApiUrlRopsten: 'https://api.ropsten.x.immutable.com/v1',
publicApiUrlV2: 'https://api.x.immutable.com/v2',
publicApiUrlV2Ropsten: 'https://api.ropsten.x.immutable.com/v2',
// Use this when registering the contract in Remix
imxRegistrationContractAddress: '0x5FDCCA53617f4d2b9134B29090C87D01058e27e9',
imxRegistrationContractAddressRopsten: '0x4527BE8f31E2ebFbEF4fCADDb5a17447B27d2aef',
// use this in backend minter
imxContractAddress: '0x72a06bf2a1CE5e39cBA06c0CAb824960B587d64c',
imxContractAddressRopsten: '0x6C21EC8DE44AE44D0992ec3e2d9f1aBb6207D864',
// etherscan api
etherscanApiKey: '',
etherscanApi: 'https://api.etherscan.io/api',
etherscanApiRopsten: 'https://api-ropsten.etherscan.io/api',
infuraApiUrl: 'https://mainnet.infura.io/v3/your_api_key',
infuraApiUrlRopsten: 'https://ropsten.infura.io/v3/your_api_key',
// Address of your registered contract on Immutable X
// Your contract address mainnet
tokenContractAddress: '',
// ropsten or mainnet
tokenContractNetwork: '',
// your contract owner wallet address
minterAddress: '',
// Private key for the wallet that is the contract's owner
minterPrivateKey: '',
// frontend configuration
whitelistedAddresses: [],
mintBatchSize: 10000,
endSaleAtDepositAmount: 0,
isMintingEnabled: false,
whitelistOnly: false,
backgroundColor: '',
textColor: '',
textSize: '',
buttonBackgroundColor: '',
buttonColor: '',
pageHeading: '',
mintButton: 'rounded', // rounded, rectangular
mintButtonLabel: 'Mint',
currentPriceLabel: '',
countdownDate: '',
headerLinks: [],
// general statuses
generalConfigUpdated: false,
databaseImported: false,
}