go-ethereum/geth-poa
2023-12-26 16:07:07 -08:00
..
frontend new rpc urls for frontend 2023-11-30 19:13:08 -08:00
hyperlane-deployer name change 2023-12-26 16:07:07 -08:00
hyperlane-relayer chore: fix bootnode address in scripts 2023-12-12 16:06:11 +05:30
hyperlane-validator chore: fix bootnode address in scripts 2023-12-12 16:06:11 +05:30
local-l1 docs and naming 2023-12-19 02:50:58 -08:00
util fix bridge test 2023-12-22 04:52:23 -08:00
.env.example name change 2023-12-26 16:07:07 -08:00
.gitignore merging geth-poa into go-ethereum repo 2023-11-30 18:07:09 -08:00
docker-compose.yml name change 2023-12-26 16:07:07 -08:00
Dockerfile Update Dockerfile 2023-12-21 04:33:01 -08:00
entrypoint.sh Update entrypoint.sh 2023-12-21 04:32:06 -08:00
genesis.json change hardcoded whitelistaddr + change deployer acct + docs 2023-12-20 23:33:48 -08:00
Makefile Revert "Update agent images" 2023-12-20 16:24:46 -08:00
README.md Update README.md 2023-12-22 02:08:35 -08:00

geth-poa

Tool for spinning up a POA ethereum sidechain bridged to sepolia via hyperlane token warp route.

Metrics

Metrics recorded by bootnode are exposed to host at http://127.0.0.1:6060/debug/metrics

Key Summary

All relevant accounts are funded on sidechain genesis, you may need to fund these accounts on L1 with faucets. See hyperlane docs.

Hyperlane Contract deployer

Address: 0xBcA333b67fb805aB18B4Eb7aa5a0B09aB25E5ce2

Note if the relayer is emitting errors related to unexpected contract routing, try redeploying the hyperlane contracts using a new key pair. It's likely the current deployments are clashing with previous deployments on Sepolia.

To properly set a new hyperlane deployer:

  • Generate a new key pair (ex: cast wallet new)
  • Send or mine some Sepolia ETH to Address
  • replace Address above for book keeping
  • replace CONTRACT_DEPLOYER_PRIVATE_KEY in .env
  • allocate funds to Address in the allocs field of genesis.json

Note the deployer of primev contracts can be a separate account.

Validator Accounts (also POA signers)

Node1

Address: 0xd9cd8E5DE6d55f796D980B818D350C0746C25b97

Node2

Address: 0x788EBABe5c3dD422Ef92Ca6714A69e2eabcE1Ee4

Relayer

Address: 0x0DCaa27B9E4Db92F820189345792f8eC5Ef148F6

Create2 Deployment Proxy

A Create2 deployment proxy is can be deployed to this chain at 0x4e59b44847b379578588920ca78fbf26c0b4956c. see more here. Note this proxy is required to deploy the whitelist bridge contract, and is consistent to foundry's suggested process for create2 deployment. The deployment signer, 0x3fab184622dc19b6109349b94811493bf2a45362 is funded on genesis.

Local Run

  1. To run the local setup, set the .env file with the keys specified in .env.example.
  2. Run $ make up-dev-build to run the whole stack including bridge, or $ make up-dev-settlement to bring up only the settlement layer.

Starter .env file

To get a standard starter .env file from primev internal development, click here.