Skip to main content

Install Lasso in your app

Lasso is standard EVM JSON-RPC, so installing it means changing one URL. Keep your client library, your contract calls and your secret store. This page shows the URL in each common client and how to move traffic safely.
Get these values from the quickstart. Every URL below is built from them as <base>[/profile/<profile>][/<strategy>]/<chain>; see keys, URLs and profiles.

viem

ethers v6

polling: true makes provider.on(...) poll with eth_getLogs instead of HTTP filters, which Lasso doesn’t serve. For push delivery, use the WebSocket provider.

Foundry, Hardhat and indexers

Indexers take the same URL wherever they take an RPC endpoint. Use load-balanced for backfills; see indexer backfills.

Choose the URL per call site

Roll out one path at a time

  1. Pick one stateless read path your app already measures, such as a balance or eth_blockNumber poller.
  2. Point it at Lasso with an explicit strategy, and keep the previous URL as a rollback.
  3. Compare correctness, error rate, latency and head freshness against the old endpoint, and check routing evidence to see which provider served each request.
  4. Move historical reads, transaction sending and subscriptions as separate steps; each has its own behavior in RPC method behavior.
  5. Expand traffic once your own evidence supports it.

Limits

  • Lasso rejects HTTP filter methods (eth_newFilter and friends). Use eth_getLogs or WebSocket subscriptions.
  • A signed transaction is sent to one provider and not retried after dispatch. If the response is lost, look up the transaction hash before resending.
  • JSON-RPC batches are routed per item; a batch is not pinned to one provider or one block.

Next