Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@x-swap-protocol/router-sdk

XSwapProtocol11MIT1.2.1TypeScript support: included

An sdk for routing swaps using XSwap Protocol v2 and v3.

xswapprotocol, xdc

readme

Alpha software

The latest version of the SDK is used in production in the Uniswap Interface, but it is considered Alpha software and may contain bugs or change significantly between patch versions. If you have questions about how to use the SDK, please reach out in the #dev-chat channel of the Discord. Pull requests welcome!

Uniswap Swap Router SDK

This SDK is meant to facilitate interactions with the contracts in swap-router-contracts.