For the complete documentation index, see llms.txt. This page is also available as Markdown.

Squid x Tenderly

Mainnet fork dev environment

Squid has worked with Tenderly to build a powerful cross-chain development environment. This environment is a replicated Mainnet fork of most Squid-supported EVM chains. This lets users and developers test using mainnet liquidity, and is our recommended development environment.

You can spend funds from your account in this environment without spending them on mainnet.

Mainnet fork environment base URL https://axelar-relayer.testsquidrouter.com/api

Polygon mainnet fork RPC https://rpc.tenderly.co/fork/94010ea6-20cb-4a3a-b8b6-c7cb5e4574e8

Arbitrum mainnet fork RPC https://rpc.tenderly.co/fork/ba53ac43-0a0f-4f0a-9735-5b5de80c028f

You can get other RPCs from this front end https://squid-widget-git-main-v2-0xsquid.vercel.app/?apiUrl=https://axelar-relayer.testsquidrouter.com/api

  • Try connecting your wallet and clicking “switch network” on the source wallet. Metamask should pop up with the new chain config (MAKE SURE YOU DON'T SUBMIT TO REAL MAINNET)

Users can test swapping in our dev environment

Set your base URL to https://axelar-relayer.testsquidrouter.com/api

import { Squid } from "@0xsquid/sdk";

(async () => {
  // instantiate the SDK
  const squid = new Squid();

  squid.setConfig({
    baseUrl: "https://axelar-relayer.testsquidrouter.com/api", // for testnet use "https://testnet.v2.api.squidrouter.com"
    integratorId: "your-integrator-id"
  });

  // init the SDK
  await squid.init();
  console.log("Squid inited");
})();

You can use Tenderly's block explorer and debugger on any transaction submitted to these RPCs.

Last updated