Skip to content

Getting started

SilentSwap V3 exposes one small, typed flow: quote, show the user what will happen, place, and track.

Install

pnpm add @silentswap/sdk viem

Create a client

Production uses https://api.silentswap.com automatically. Supply an EVM wallet client and any narrow non-EVM capability adapters the application already selected.

import { createSilentSwapClient } from '@silentswap/sdk';
const client = createSilentSwapClient();

Follow the trust boundary

The wallet deposit calldata does not reveal the recipient. Render every output, asset, fee, and expiry in your own trusted UI, then call placeOrder(quote). There is no V2 authorization-signing replacement.

Continue with the quickstart, or read how it works before handling funds.

Browser integrators can test on the default port-3000 localhost origins and must register their exact HTTPS production origins. Complete testing and production access before launch.