-
Notifications
You must be signed in to change notification settings - Fork 0
/
rvn.js
64 lines (60 loc) · 1.21 KB
/
rvn.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
/*
info from:
https://github.com/RavenProject/Ravencoin/blob/master/src/chainparams.cpp
*/
var common = {
name: 'Ravencoin',
unit: 'RVN'
}
var main = Object.assign({}, {
hashGenesisBlock: '0x0000006b444bc2f2ffe627be9d9e7e7a0730000870ef6eb6da46c8eae389df90',
// nDefaultPort
port: 8767,
portRpc: 8766,
protocol: {
// pchMessageStart
magic: 0x4e564152 // careful, sent over wire as little endian
},
// vSeeds
seedsDns: [
'seed-raven.ravencoin.org',
'seed-raven.bitactivate.com'
],
// base58Prefixes
versions: {
bip32: {
private: 0x0488ade4,
public: 0x0488b21e
},
bip44: 175,
private: 0x80,
public: 0x3c,
scripthash: 0x7a
}
}, common)
var test = Object.assign({}, {
hashGenesisBlock: '0x000000055c6b201ac99ed634953f92bd52239f5b26e090ce3caab6ec81bec921',
port: 18767,
portRpc: 18766,
protocol: {
magic: 0x544e5652
},
seedsDns: [
'seed-testnet-raven.ravencoin.org',
'seed-testnet-raven.bitactivate.com'
],
versions: {
bip32: {
private: 0x04358394,
public: 0x043587cf
},
bip44: 175,
private: 0xef,
public: 0x6f,
scripthash: 0xc4
}
}, common)
module.exports = {
main: main,
test: test
}