forked from aurowallet/auro-wallet-browser-extension
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.example.js
73 lines (62 loc) · 1.33 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
62
63
64
65
66
67
68
69
70
71
72
73
import { NET_CONFIG_TYPE } from "./src/constant/walletType"
export const cointypes = {
name: 'MINA',
segwitAvailable: true,
coinType: 12586,
network: null,
symbol:'MINA',
decimals:9
}
/**
* lock time
*/
export const LOCK_TIME = 30 * 60 * 1000
/**
* fee config interface
*/
export const BASE_INFO_URL = ""
/**
* default language config
*/
export const DEFAULT_LANGUAGE = "en"
/**
* default home page tx length
*/
export const TX_LIST_LENGTH = 20
const GQL_URL_MAINNET = ""
const TRANSACTION_URL_MAINNET = ""
const EXPLORER_URL_MAINNET = ""
const GQL_URL_DEVNET = ""
const TRANSACTION_URL_DEVNET = ""
const EXPLORER_URL_DEVNET = ""
export const MAIN_NET_BASE_CONFIG={
netType:NET_CONFIG_TYPE.Mainnet,
url:GQL_URL_MAINNET,
txUrl:TRANSACTION_URL_MAINNET,
explorer:EXPLORER_URL_MAINNET,
}
export const TEST_NET_BASE_CONFIG={
netType:NET_CONFIG_TYPE.Devnet,
url:GQL_URL_DEVNET,
txUrl:TRANSACTION_URL_DEVNET,
explorer:EXPLORER_URL_DEVNET,
}
export const UNKNOWN_NET_BASE_CONFIG={
netType:NET_CONFIG_TYPE.Unknown
}
/**
* current net config version if net change just add 1
*/
export const NET_CONFIG_VERSION = 1019
export const network_config=[
{
id: 1,
name: "Mainnet",
...MAIN_NET_BASE_CONFIG,
},
{
id: 2,
name: "Devnet",
...TEST_NET_BASE_CONFIG
},
]