Introduction

The xchain-sdk is a JavaScript/TypeScript development kit for transferring assets across blockchains that support cross chain transactions. These transactions are defined in the XLS-38d amendment of the XRPL blockchain. Therefore, in order to understand how this sdk works and what it does, it is highly recommended to comprehend the key concepts mentioned in the XLS-38d first.

The main goal of the xchain-sdk is to provide a layer of abstraction on top of the complexity introduced by cross chain transactions. This allows developers to create cross chain transfers with a few lines of code. Nonetheless, using custom implementations or extending the functionalities is also possible. In other words, this set of cross chain tools is aimed at both developers with simple use cases as well as more advanced ones that require more customisation.

Installation

The package can be installed with your preferred package manager.

# With npm
npm i xchain-sdk
# With yarn
yarn add xchain-sdk

Last updated