Lasso

Self-hosted Ethereum JSON-RPC proxy that routes each call to the best provider

Image 1 of 1: Lasso dashboard: chain topology with provider health, live routing activity and a request tester

Puts nodes and RPC providers behind one JSON-RPC endpoint: measures latency per provider, method and transport, routes each request to the best-placed upstream, trips circuit breakers on outages and rate limits, and keeps WebSocket subscriptions alive across failover. Elixir/OTP, no client SDK.

Trade-offs

  • Reads fail over within the request deadline, but sends never do: eth_sendRawTransaction and other signed submissions go out once, and the app reconciles by transaction hash instead of replaying.
  • Routing lives in one shared endpoint, not in each client: shared provider measurements, one place to change providers and a record of every decision, at the cost of another service to run.
  • Built on the BEAM: lightweight processes per request, connection and subscription, with OTP supervision for flaky upstreams and ETS for routing state on the hot path.

Q&A3

Matching newHeads and logs subscriptions share one upstream; when it fails, Lasso moves to another provider and backfills missed blocks and logs over HTTP. Block regression protection keeps latest-block answers from going backwards.

Reviews

Loading reviews

    More in Crypto & web3

    See all 4 →
    • PaperVaultOffline paper vaults for secrets, unlocked by M-of-N printed key shares
    • SolFlowCall-flow graphs of Solidity entry points for smart contract auditors
    • minshopSmall store on Cloudflare Workers that agents can pay
    • WaltySelf-custodial stablecoin POS for businesses, on a 2-of-3 MPC wallet

    More in Distributed systems

    See all 20 →
    • arbiterPostgreSQL job queue for Haskell, with no broker and no leader
    • RRQClosed-loop payment ledger on sharded Postgres with a Kafka outbox
    • RuvioRust key-value server that speaks RESP, with locks and queues as commands
    • EgresPostgres-compatible database in Zig for heavy, multi-tenant workloads
    • clinkC++ stream processing engine that stays correct when processes die
    • pg-statusSidecar that reports PostgreSQL master, replicas and replication lag

    More in Elixir

    See all 7 →
    • BabyTalkOffline speech recognition and a neural voice on an ESP32, from C or Erlang
    • BaudrateA bulletin board system that federates over ActivityPub
    • AetherS3Self-hostable distributed S3-compatible object store on the BEAM
    • InkwellFederated social journaling with MySpace-style profiles
    • emisarGateway that gives AI agents declared infrastructure actions instead of a shell
    • AlexClawSingle-user AI agent on Elixir/OTP that watches sources and runs workflows