Fork from https://github.com/OffchainLabs/eth-pos-devnet and support cancun/deneb fork
Refer to https://docs.prylabs.network/docs/advanced/proof-of-stake-devnet for the details
- the
latest
docker-compose, the compose file requires version 2.24.0
Clean and reset all data
make clean
Init genesis
If you would like to fund address you have, just add .env
file with following configurations
# comma separated address
GENESIS_ADDRESS=0x0001aEBC06288F578Eb01002a99E854cED86bC4F
# the default balance
GENESIS_BALANCE_default=0xfffffffffffffffffffff
GENESIS_BALANCE_0x0001aEBC06288F578Eb01002a99E854cED86bC4F=0x64
GENESIS_NONCE_0x0002538C7BB308B5042f279e2C10b466b80797C9=0x1
GENESIS_CODE_0x0002538C7BB308B5042f279e2C10b466b80797C9=0x363d3d373d3d3d363d73bebebebebebebebebebebebebebebebebebebebe5af43d82803e903d91602b57fd5bf3
And the result will be
{
"0001aebc06288f578eb01002a99e854ced86bc4f": {
"balance": "0x64"
},
"0002538c7bb308b5042f279e2c10b466b80797c9": {
"nonce": "0x1",
"code": "0x363d3d373d3d3d363d73bebebebebebebebebebebebebebebebebebebebe5af43d82803e903d91602b57fd5bf3",
"balance": "0x0"
},
"000352a341aac0a2437c33edceada93bf4908fd8": {
"balance": "0xfffffffffffffffffffff"
}
}
make init
Start
make start
0x4242424242424242424242424242424242424242
the deposit contract0x4e59b44847b379578588920ca78fbf26c0b4956c
the create2 deployer0x000F3df6D732807Ef1319fB7B8bB8522d0Beac02
and its deployer0x0B799C86a49DEeb90402691F1041aa3AF2d3C875
the EIP-4788 Beacon Roots contract.
Note: Do NOT send real ETH to the address.
Address 0x123463a4b065722e99115d6c222f267d9cabb524
The private key 2e0834786285daccd064ca17f1654f67b4aef298acbb82cef9ec422fb4975622