README.md 691 Bytes
Newer Older
Johnny's avatar
Johnny committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
# 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
```