Run a VSL RPC Node
Introduction
This tutorial will walk you through the process of using Docker to run a VSL RPC Node.
Prerequisites
Setup
Clone the repository:
git clone https://github.com/RSS3-Network/VSL-RPC-Node.git
Configuration
Configuration for the docker-compose
is handled through environment variables inside of an op-geth.env
and op-node.env
file.
Configure the op-geth.env file
VSL Mainnet | VSL Testnet | |
---|---|---|
GETH_NETWORKID | 12553 | 2331 |
GETH_ROLLUP_SEQUENCERHTTP | https://sequencer.rss3.io/ | https://sequencer.testnet.rss3.io/ |
Configure the op-node.env file
VSL Mainnet | VSL Testnet | |
---|---|---|
OP_NODE_L1_ETH_RPC | <endpoint for the RPC of Layer 1 Ethereum mainnet> | <endpoint for the RPC of Layer 1 Ethereum sepolia testnet> |
Get rollup.json
and genesis.json
rollup.json
and genesis.json
Both are provided in the repo https://github.com/RSS3-Network/rollup-config
Run the Node
Start
docker compose up -d
View Logs
To view logs of containers:
docker-compose logs -f --tail 10
Or:
docker compose logs <CONTAINER_NAME> -f --tail 10
Stop
docker compose down
Updated about 2 months ago