Ring Swap SDK
Welcome to the Ring Swap SDK docs. To begin, we recommend looking at the
Guides. The current source of truth for the SDK lives in the
sdks monorepo.
Ring Swap SDK
Use @ring-protocol/v2-sdk for normal Ring Swap integrations. The package name reflects the
v2-style constant-product contract family that Ring Swap is compatible with; it should not be read
as a separate Ring product generation.
@ring-protocol/v2-sdk is the FEW-aware Ring Swap SDK layer. It includes helper APIs for deriving and
recognizing FewToken addresses.
Use @ring-protocol/uniswap-v2-sdk only when you explicitly want the lower-level v2-compatible primitives rather than the higher-level Ring integration layer.