-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathconfig.js
34 lines (32 loc) · 927 Bytes
/
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
configList = {
global: {
chainId:'aca376f206b8fc25a6ed44dbdc66547c36c6c33e3a119ffbeaef943642f0e906',
httpEndpoint:'http://bp.cryptolions.io:8888',
issuer:'eetheetheeth',
keyProvider:'your private key',
db: {
host: 'localhost',
user: 'mysql user',
password: 'mysql database',
database: 'database name'
},
},
test:{
db:null,//test not use db
issuer:'testestest',
keyProvider:'your private key',
memo:'a airdrop test',
},
airdrop :{
issuer:'eosfavorcomm',
keyProvider:'your private key',
memo:'a airdrop memo',
},
ad:{
issuer:'ethsidechain',
keyProvider:'your private key',
memo:'a ad memo',
},
}
const env = process.env.EOSFAVOR_CONFIG_NAME || 'airdrop';
module.exports = {...configList['global'], ...configList[env]};