Overview
Spin up a local test environment that includes:- Two Anvil forks: Ethereum Sepolia and Base Sepolia
- Rhinestone Orchestrator (mockestrator) wired to those forks via
rpcs.json
Prerequisites
- Docker and Docker Compose installed
- An Alchemy API key in your environment:
export ALCHEMY_API_KEY=...
SDK Configuration
Point the SDK at the local Orchestrator and local RPCs.Troubleshooting
- Ensure
ALCHEMY_API_KEYis exported in your shell before starting Docker. - If containers appear unhealthy, check logs:
docker compose logs -f sepolia_forkdocker compose logs -f base_sepolia_forkdocker compose logs -f mockestrator
- For port conflicts, adjust the left-hand port mappings in
docker-compose.yaml.