forked from hyperbit-dev/chains
-
Notifications
You must be signed in to change notification settings - Fork 0
/
dnr.ts
59 lines (54 loc) · 1.06 KB
/
dnr.ts
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
/** source: https://github.com/carsenk/denarius/blob/master/src/main.cpp */
import { Common, Network, TestNetwork } from '../types';
const common: Common = {
name: 'Denarius',
unit: 'DNR',
decimalPlaces: 1e8,
};
const main: Network = {
...common,
hashGenesisBlock:
'00000d5dbbda01621cfc16bbc1f9bf3264d641a5dbf0de89fd0182c2c4828fcd',
port: 33339,
portRpc: 32339,
protocol: {
magic: 0xb4eff2fa,
},
seedsDns: [
'denariusexplorer.org',
'denarius.host',
'denarius.tech',
'denarius.network',
],
versions: {
bip32: {
private: 0x0488ade4,
public: 0x0488b21e,
},
bip44: 116,
private: 0x9e,
public: 0x1e,
scripthash: 0x5a,
},
};
const test: TestNetwork = {
...common,
hashGenesisBlock:
'000086bfe8264d241f7f8e5393f747784b8ca2aa98bdd066278d590462a4fdb4',
port: 33368,
portRpc: 32368,
versions: {
bip32: {
private: 0x04358394,
public: 0x043587cf,
},
bip44: 1,
private: 0x8c,
public: 0x12,
scripthash: 0x74,
},
};
export const dnr = {
main,
test,
};