How to Run RIP-7560 Nodes Locally

You can run code that works on Pioneer Alpha directly from local to devnet.

The RIP-7560 devnet configuration consists of the following 3 nodes.

Clone repos

Clone the 7560-optimism repo

git clone https://github.com/kroma-network/7560-optimism.git

Clone the Infinitism-bundler repo

git clone https://github.com/kroma-network/infinitism-bundler.git

Clone the 7560-geth repo

The Kroma Monorepo contains the source code for the op-node.

cd 7560-optimism
git clone https://github.com/kroma-network/7560-geth.git

Here's the directory structure of the repos up to this point.

Build & run

Run 7560-optimism

Navigate to the 7560-optimism directory and build & run with the command below.

make devnet-up

If it builds and runs successfully, it will continue to print the log below.

Run 7560-geth

Navigate to the 7560-geth directory and build & run with the command below.

make geth
./prepare.sh
./build/bin/geth $(pbpaste)

If everything went well, you should see the following message repeatedly.

Run infinitm-bundler

Navigate to the infinitism-bundler directory and build & run with the command below.

yarn && yarn preprocess
yarn run bundler-rip7560

When the bundler is finished running, you'll see the log below.

Good job!

You have completed configuring and running devnet for the RIP-7560. The current running network information is shown below:

7560-geth : http://localhost:38545

infinitism-bundler : http://localhost:7560

Pioneer Alpha

Bundler

RIP-7560 related methods

eth_estimateRip7560TransactionGas

eth_callRip7560Validation

eth_sendTransaction

eth_estimateGas

eth_getTransactionReceipt

eth_getTransactionHash

chainId

11171168 (0xAA7560)

-

Last updated