Swing SDK Guide

Here you will find helpful SDK guides to integrate Swing SDK components directly into your dApp.

Introduction

The Swing SDK provides you with utilities for interacting with Swing's API and web3 wallets, which will enable you to build your own any-to-any cross-chain UI.

Looking for a fully featured, embeddable widget instead? Check out the Swing Widget

If you're unsure whether our SDK is the right integration type for you, check out our guide to help you choose the best integration type for you or your team.

What can you do with Swing SDK?

  • Swap and bridge thousands of digital assets, any token to any token, irrespective of the underlying blockchain.
  • Stake, lend and deposit assets into any protocol on the same chain or across different chains.
  • Find the best routes for on-chain and cross-chain token transfers and swaps.
  • Access aggregated decentralized liquidity across cross-chain bridges, blockchains, and decentralized exchange networks.

Getting Started

We've put together SDK guides to teach you the important aspects of the SDK. Follow along, step by step, to learn how to integrate with our UI components:

Install the SDK

Learn how to install and setup the Swing SDK.

Connect a Wallet

Learn how to connect a supported wallet to the Swing SDK.

Check Wallet balance

Learn how to get balances for specific token(s)