Skip to content
This repository was archived by the owner on Apr 6, 2020. It is now read-only.

Commit d110f68

Browse files
authored
Merge pull request #31 from ethereumjs/add-goerli-support
Add goerli support
2 parents 32ddb89 + 4846ef5 commit d110f68

File tree

7 files changed

+413
-0
lines changed

7 files changed

+413
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@ Supported chains:
102102
- ``ropsten``
103103
- ``rinkeby``
104104
- ``kovan``
105+
- ``goerli`` (EXPERIMENTAL)
105106
- Private/custom chain parameters
106107

107108
The following chain-specific parameters are provided:

chains/goerli.json

Lines changed: 145 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,145 @@
1+
{
2+
"name": "goerli",
3+
"chainId": 6284,
4+
"networkId": 6284,
5+
"comment": "Cross-client PoA test network",
6+
"url": "https://github.com/goerli/testnet",
7+
"genesis": {
8+
"hash": "0xfa57319d09fd8a32faaf18d338c8a925a5a7975285bf29ecd024e083cba8abb1",
9+
"timestamp": "0x5bdda800",
10+
"gasLimit": 10485760,
11+
"difficulty": 1,
12+
"nonce": "0x0000000000000000",
13+
"extraData": "0x2249276d20646f6e652077616974696e672e2e2e20666f7220626c6f636b2066696e616c69747922202d2049676779270000000001fa1804c408085d9c57eeb167ce953c99b6cb1e20794Fd02933F303FbA550bd1fe2f0649E3576eB0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
14+
"stateRoot": "0x0f410b6a6eae3d3156eccd966ac842a4c545c47921b9fe36386de18152cfddcf"
15+
},
16+
"hardforks": [
17+
{
18+
"name": "chainstart",
19+
"block": 0,
20+
"consensus": "poa",
21+
"finality": null
22+
},
23+
{
24+
"name": "homestead",
25+
"block": 0,
26+
"consensus": "poa",
27+
"finality": null
28+
},
29+
{
30+
"name": "dao",
31+
"block": null,
32+
"consensus": "poa",
33+
"finality": null
34+
},
35+
{
36+
"name": "tangerineWhistle",
37+
"block": 0,
38+
"consensus": "poa",
39+
"finality": null
40+
},
41+
{
42+
"name": "spuriousDragon",
43+
"block": 0,
44+
"consensus": "poa",
45+
"finality": null
46+
},
47+
{
48+
"name": "byzantium",
49+
"block": 0,
50+
"consensus": "poa",
51+
"finality": null
52+
},
53+
{
54+
"name": "constantinople",
55+
"block": 0,
56+
"consensus": "poa",
57+
"finality": null
58+
},
59+
{
60+
"name": "hybridCasper",
61+
"block": null,
62+
"consensus": "poa",
63+
"finality": "pos"
64+
}
65+
],
66+
"bootstrapNodes": [
67+
{
68+
"ip": "40.70.214.166",
69+
"port": 40303,
70+
"id": "04fb7acb86f47b64298374b5ccb3c2959f1e5e9362158e50e0793c261518ffe83759d8295ca4a88091d4726d5f85e6276d53ae9ef4f35b8c4c0cc6b99c8c0537",
71+
"location": "",
72+
"comment": ""
73+
},
74+
{
75+
"ip": "213.186.16.82",
76+
"port": 1345,
77+
"id": "17de5580bbc1620081a21f82954731c7854305463630a0d677ed991487609829a6bf1ffcb8fb8ef269eff4829690625db176b498c629b9b13cb39b73b6e7b08b",
78+
"location": "",
79+
"comment": ""
80+
},
81+
{
82+
"ip": "85.7.110.224",
83+
"port": 30303,
84+
"id": "22da3ef3707626a92a32b0527d0846f88228daa0536c62d83c9ac7e96660bc8e4ac70a9aa8f8cedf71b580cd41449ad46c6e5a06ecf138b142f38a9d1b2b856a",
85+
"location": "",
86+
"comment": ""
87+
},
88+
{
89+
"ip": "54.88.169.219",
90+
"port": 30303,
91+
"id": "3897b1a5786948f643d9755df92dc56d0b2284f36730dc198ef371aebf191b24b5cbe8162c2032b09b2f14ba73460bfc3f7d4ef1e26bcc59297d4f235dc5cdc5",
92+
"location": "",
93+
"comment": ""
94+
},
95+
{
96+
"ip": "40.70.214.166",
97+
"port": 30405,
98+
"id": "3d197d65ed92af6d0adf280ce486714fb641ef9f9f38f0bdd5ddd552666fc1132f033eb249a87f7f30086902c131f30f054f872ae80ac83eea6bd3760a7bbce2",
99+
"location": "",
100+
"comment": ""
101+
},
102+
{
103+
"ip": "188.166.20.30",
104+
"port": 30303,
105+
"id": "3d8d6698d2d4d730d896c7c1e3602ff845343f71bacbf8cb614b0e94fcb3b10e1a49ac2a5063c76617182a1c5928a4a63d4be897e54ae1cb858a1b94d0d275b8",
106+
"location": "",
107+
"comment": ""
108+
},
109+
{
110+
"ip": "94.237.54.114",
111+
"port": 30313,
112+
"id": "46add44b9f13965f7b9875ac6b85f016f341012d84f975377573800a863526f4da19ae2c620ec73d11591fa9510e992ecc03ad0751f53cc02f7c7ed6d55c7291",
113+
"location": "",
114+
"comment": ""
115+
},
116+
{
117+
"ip": "13.113.211.0",
118+
"port": 30303,
119+
"id": "5065d5221b507764771a8b74abc69df0351217eae09b96ec0df4275576a8b2bbba9986ce3037e6fb3c933b5b301364e18030c1ada8cec4ae00f1fa4dfff32eb8",
120+
"location": "",
121+
"comment": ""
122+
},
123+
{
124+
"ip": "52.56.136.200",
125+
"port": 30303,
126+
"id": "573b6607cd59f241e30e4c4943fd50e99e2b6f42f9bd5ca111659d309c06741247f4f1e93843ad3e8c8c18b6e2d94c161b7ef67479b3938780a97134b618b5ce",
127+
"location": "",
128+
"comment": ""
129+
},
130+
{
131+
"ip": "213.186.16.82",
132+
"port": 30303,
133+
"id": "57f58f16fccdd9fb6f587565ac09af4b3b4b33d0fbd14252cc61d29a65b0d83c08419e67ac5292b9342090053526b847f2487278e609f4b4cd1dbf0f48105b2b",
134+
"location": "",
135+
"comment": ""
136+
},
137+
{
138+
"ip": "13.78.10.94",
139+
"port": 30405,
140+
"id": "5d9b1cba03738dfd23e12e4efb99b72623474fece2cc582c95e3ba7d481d519dea0029901f1f844116bab806044e8552f0431b21cf8d96010fc351b483330faa",
141+
"location": "",
142+
"comment": ""
143+
}
144+
]
145+
}

chains/index.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,12 @@ chains['names'][1] = 'mainnet'
55
chains['names'][3] = 'ropsten'
66
chains['names'][4] = 'rinkeby'
77
chains['names'][42] = 'kovan'
8+
chains['names'][6284] = 'goerli'
89

910
chains['mainnet'] = require('./mainnet.json')
1011
chains['ropsten'] = require('./ropsten.json')
1112
chains['rinkeby'] = require('./rinkeby.json')
1213
chains['kovan'] = require('./kovan.json')
14+
chains['goerli'] = require('./goerli.json')
1315

1416
module.exports = chains

0 commit comments

Comments
 (0)