Skip to content

Latest commit

 

History

History
44 lines (29 loc) · 1.3 KB

xumm-sdk-intro.md

File metadata and controls

44 lines (29 loc) · 1.3 KB
description
Developers can use the Xaman SDK to easily integrate with the Xaman platform. This allows for easy & secure end user interaction. With your application & the XRP Ledger.

Xaman SDK (Intro)

JavaScript/TypeScript

NPM

The Xaman Javascript/TypeScript SDK can be found on npm:

{% embed url="https://www.npmjs.com/package/xumm" %}

CDN

The latest version of the Xumm SDK is always available at:

https://xaman.app/assets/cdn/xumm.min.js

{% hint style="info" %} Please note the CDN URL is heavily cached (edge and headers, so client side). If you are expecting a new version of the SDK to load, consider cleaning local cache and adding a random (e.g. your build hash) as a URL Query param to the URL to force URL uniqueness. {% endhint %}

Code samples

See examples-user-stories

Warning (legacy packages)

{% hint style="warning" %} Previously there were three different packages:

  • xumm-sdkfor backend interaction
  • xumm-xapp-sdk for xApp frontend interaction
  • xumm-oauth2-pkce for browser / "Web3" interaction

All three packages above have been replaced by the xumm package, which allows for easier (unified) interaction with the three aforementioned topics. {% endhint %}