-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
576defd
commit 2e88aa9
Showing
8 changed files
with
81 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
{ | ||
"config": { | ||
"chainId": 12345, | ||
"homesteadBlock": 0, | ||
"eip150Block": 0, | ||
"eip155Block": 0, | ||
"eip158Block": 0, | ||
"byzantiumBlock": 0, | ||
"constantinopleBlock": 0, | ||
"petersburgBlock": 0, | ||
"istanbulBlock": 0, | ||
"berlinBlock": 0, | ||
"clique": { | ||
"period": 0, | ||
"epoch": 30000 | ||
} | ||
}, | ||
"difficulty": "1", | ||
"gasLimit": "8000000", | ||
"extradata": "0x00000000000000000000000000000000000000000000000000000000000000004cdbd835fe18bd93cca39a262cff72dbac99e24f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", | ||
"alloc": { | ||
"622fbe99b3a378fac736bf29d7e23b85e18816eb": { "balance": "888888888888888888888888" }, | ||
"4cdbd835fe18bd93cca39a262cff72dbac99e24f": { "balance": "888888888888888888888888" } | ||
} | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
password |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
f78955a540221936a4eba0edd96547fc400d44f7f2107be4c7e72f6076a649d1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
de665c1c4bb8a5b74386dd8fb17dd2ba9a59db6cc11aea4d27ebdc5ecf46c13c |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
#!/bin/sh | ||
|
||
set -eu | ||
|
||
geth init /root/config/genesis.json | ||
geth --password /root/config/password.txt account import /root/config/private-key1.txt | ||
geth --password /root/config/password.txt account import /root/config/private-key2.txt | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
#!/bin/sh | ||
|
||
set -eu | ||
|
||
geth \ | ||
--verbosity 5 \ | ||
--nodiscover \ | ||
--syncmode 'full' \ | ||
--nat none \ | ||
--port 30310 \ | ||
--http \ | ||
--http.addr '0.0.0.0' \ | ||
--http.port 8545 \ | ||
--http.vhosts '*' \ | ||
--http.api 'personal,eth,net,web3,txpool,miner,debug' \ | ||
--networkid '12345' \ | ||
--mine \ | ||
--miner.etherbase '0x4cdBd835fE18BD93ccA39A262Cff72dbAC99E24F' \ | ||
--miner.gasprice 0 \ | ||
--unlock "0,1" \ | ||
--password /root/config/password.txt \ | ||
--allow-insecure-unlock |