EigenRollup provides a privacy-preserving smart contract on mixed layer 2 Rollup protocols of current main public blockchain, such as Ethereum. EigenRollup initiailly implements the protocol on Arbitrum.
- To use Arbitrum:
git clone -b dev https://github.com/ieigen/arbitrum
cd arbitrum
git submodule update --init --recursive
yarn
yarn build
- Running on Local Blockchain
To run Arbitrum locally, you need several things:
- Launching a Local Ethereum Blockchain (the L1)
yarn docker:build:geth
# Set DEVNET_PRIVKEY, for example:
export DEVNET_PRIVKEY=""
yarn docker:geth
- Configuring your local Arbitrum chain (the L2)
# If in another terminal, we should set DEVNET_PRIVKEY again with the same value as before
yarn demo:initialize
- Firing up the Arbitrum L2 and Deploying your validator(s)
yarn demo:deploy
- Run tutorial
demo-eigencall
cd eigen-tutorials
# Install some dependencies
yarn
# Run tutorial
cd packages/demo-iegencall
yarn run exec