momiji-node
This node listens for Momiji transaction events sent to the state contract, rolls them up into a batch, and publishes the batch to the chain
Install package dependencies using
npm install momiji-node
Enter into the directory where it was installed.
Copy the .env.example file to .env
cp .env.example .env
Fill .env RPC_URL
with a Sepolia RPC provider of choice. Make sure you have a STABLE provider with a HIGH quota that supports eth_getLogs
. There is a lot of calldata to process.
Fill .env PRIVATE_KEY
with a Sepolia wallet private key (0x...). This will be used to publish rollup transactions to chain.
To run the node
npm run start