App SDK Reference

About the App SDK

The Across App SDK is written and maintained by the engineering team at Risk Labs.

It is written in typescript and available on NPM at @across-protocol/app-sdk.

How can I use the App SDK?

The @across-protocol/app-sdk provides useful abstractions on top of Across' Smart Contracts and API. It can be used to easily integrate Across into your application to offer instant bridging or enable users to seamlessly interact with your app using assets from any chain. The App SDK provides utilities to:

  • retrieve routes, chain and token details

  • retrieve and execute quotes

  • handle destination chain contract calls

  • track status of deposits

Installation

To add the App SDK to your project, use npm or yarn to npm install @across-protocol/app-sdk or yarn add @across-protocol/app-sdk.

This can be used either in a frontend application or a node js project.

Basic Usage

You can read about the different App SDK modules on the Github README page.

Last updated