Skip to main content

Documentation

Welcome to the Ring Protocol v2 SDK docs. To begin, we recommend looking at the Guides. The current source of truth for the SDK lives in the sdks monorepo.

Structured reference
TOC available

Overview

Welcome to the Ring Protocol v2 SDK docs. To begin, we recommend looking at the Guides. The current source of truth for the SDK lives in the sdks monorepo.

Ring v2 SDK

npm version npm bundle size (scoped version)

Use @ring-protocol/v2-sdk for normal Ring Swap integrations. It is the FEW-aware SDK layer and includes helper APIs for deriving and recognizing FewToken addresses.

Use @ring-protocol/uniswap-v2-sdk only when you explicitly want the lower-level Uniswap V2-style primitives rather than the higher-level Ring integration layer.

On this page

Tools