Created
June 2, 2022 02:27
-
-
Save yatender-oktalk/c0e611aa839dbd7b8f359789e8c08ed3 to your computer and use it in GitHub Desktop.
docker folder containing files to start private blockchain
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
services: | |
geth: | |
build: . | |
environment: | |
- ACCOUNT_PASSWORD=${ACCOUNT_PASSWORD} | |
ports: | |
- "8545:8545" | |
- "8546:8546" | |
- "30303:30303" | |
volumes: | |
- ../ethereum:/root |
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
FROM ethereum/client-go:v1.10.17 | |
ARG ACCOUNT_PASSWORD | |
ENTRYPOINT sleep infinity |
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
{ | |
"config": { | |
"chainId": 657483, | |
"homesteadBlock": 0, | |
"eip150Block": 0, | |
"eip155Block": 0, | |
"eip158Block": 0, | |
"byzantiumBlock": 0, | |
"constantinopleBlock": 0, | |
"petersburgBlock": 0, | |
"istanbulBlock": 0 | |
}, | |
"alloc": { | |
"0x0000000000000000000000000000000000000001": { | |
"balance": "111111111" | |
}, | |
"0x0000000000000000000000000000000000000002": { | |
"balance": "222222222" | |
} | |
}, | |
"coinbase": "0x0000000000000000000000000000000000000001", | |
"difficulty": "0x00001", | |
"extraData": "", | |
"gasLimit": "0x2fefd8", | |
"nonce": "0x0000000000004042", | |
"mixhash": "0x0000000000000000000000000000000000000000000000000000000000000000", | |
"parentHash": "0x0000000000000000000000000000000000000000000000000000000000000000", | |
"timestamp": "0x00" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment