-
Notifications
You must be signed in to change notification settings - Fork 114
/
x42.js
58 lines (55 loc) · 1.02 KB
/
x42.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
var common = {
name: 'x42',
isProofOfStake: true
}
var main = Object.assign({}, {
unit: 'x42',
hashGenesisBlock: '04ffe583707a96c1c2eb54af33a4b1dc6d9d8e09fea8c9a7b097ba88f0cb64c4',
port: 52342,
portRpc: 52343,
protocol: {
magic: 0x3526642
},
seedsDns: [
'mainnet1.x42seed.host',
'mainnetnode1.x42seed.host',
'tech.x42.cloud',
'x42.seed.blockcore.net'
],
versions: {
bip32: {
private: 0x0488ade4,
public: 0x0488b21e
},
bip44: 424242,
private: 0xcb,
public: 0x4b,
scripthash: 0x7d
}
}, common)
var test = Object.assign({}, {
unit: 'Tx42',
hashGenesisBlock: 'a92bf124a1e6f237015440d5f1e1999bdef8e321f2d3fdc367eb2f7733b17854',
port: 62342,
portRpc: 62343,
protocol: {
magic: 0x4526642
},
seedsDns: [
'testnet1.x42seed.host'
],
versions: {
bip32: {
private: 0x0488ade4,
public: 0x0488b21e
},
bip44: 424242,
private: 0xc1,
public: 0x41,
scripthash: 0xc4
}
}, common)
module.exports = {
main,
test
}