SDK
One ES module, no dependencies, served by this site. Download it and import it.
curl -O https://www.holosroute.xyz/sdk/holos.mjsimport { Holos } from "./holos.mjs";
const holos = new Holos("https://www.holosroute.xyz");
const coins = await holos.coins();
const bal = await holos.balance({ evm: "0x…", sol: "…" });
const q = await holos.quote(coins[0].address, 25);
const plan = await holos.plan({ coin: coins[0].address, amountUsd: 25, recipient: "0x…", available: bal.lines });
const routes = await holos.move({ from: "base", to: "elysium", amount: 100 });Every method calls the public API and returns its JSON. Signing stays in your wallet code: a plan's Relay legs carry the steps (route.raw.steps) you send with any EIP-1193 provider.