Running a Node
How to run an Ethscriptions AppChain node with Docker Compose
Prerequisites
Quick Start
# Clone the repository
git clone https://github.com/ethscriptions-protocol/ethscriptions-node.git
cd ethscriptions-node
# Copy the environment template
cp docker-compose/.env.example docker-compose/.env
# Edit .env with your settings (see Environment Reference below)
# At minimum, set L1_RPC_URL to your L1 endpoint
# Bring up the stack
cd docker-compose
docker compose --env-file .env up -d
# Follow logs while it syncs
docker compose logs -f node
# Query the L2 RPC (default port 8545)
curl -X POST http://localhost:8545 \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","method":"eth_blockNumber","params":[],"id":1}'
# Shut down when done
docker compose downServices
Service
Description
Environment Reference
Core Configuration
Variable
Description
Default
Performance Tuning
Variable
Description
Default
Geth Configuration
Variable
Description
Default
Validation (Optional)
Variable
Description
Default
Monitoring
View Logs
Check Block Height
Check Sync Status
Validator (Optional)
Local Development
Troubleshooting
Node won't start
Slow sync
Out of disk space
Resources
Last updated