Skip to main content

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
This setup lets you develop and test intents locally with full control over RPC state and fast iteration.

Prerequisites

  • Docker and Docker Compose installed
  • An Alchemy API key in your environment: export ALCHEMY_API_KEY=...
1

Create rpcs.json

2

Create docker-compose.yaml

Start the stack:
Stop it:
3

Verify Local Endpoints

  • Sepolia fork RPC: http://localhost:30006
  • Base Sepolia fork RPC: http://localhost:30005
  • Orchestrator: http://localhost:3000
Note: If your app also uses port 3000, change the left-hand port for mockestrator (e.g., 3007:3000) and update the examples accordingly.

SDK Configuration

Point the SDK at the local Orchestrator and local RPCs.

Troubleshooting

  • Ensure ALCHEMY_API_KEY is exported in your shell before starting Docker.
  • If containers appear unhealthy, check logs:
    • docker compose logs -f sepolia_fork
    • docker compose logs -f base_sepolia_fork
    • docker compose logs -f mockestrator
  • For port conflicts, adjust the left-hand port mappings in docker-compose.yaml.