0.1.6 • Published 3 years ago
pos-eth-lightclients v0.1.6
PoS Ethereum LightClients
Implements different light client implementations for PoS Ethereum.
Start the RPC Proxy
npm install -g pos-eth-lightclients
rpc-proxyThe PRC is now available at http://localhost:8546. Add this local network to metamask.
rpc-proxy --help
Options:
--help Show help [boolean]
--version Show version number [boolean]
-n, --network chain id to start the proxy on (1, 5) [choices: 1, 5]
-c, --client type of the client [choices: "light", "optimistic"]
-o, --provers comma separated prover urls
-u, --rpc rpc url to proxy
-p, --port port to start the proxy [number]
-a, --beacon-api beacon chain api URLBuild Locally
Clone the repo and perform the following commands
yarn install
yarn buildRun Server
cp .env.example .env
yarn startDeploy Server to heroku
bash src/provers/light-optimistic/deploy-heroku.sh <heroku-app-name>