Stardust-Custodial-SDK is a TypeScript-based SDK specifically crafted to enable seamless integration with the Stardust custodial Wallets as a service (WaaS). This SDK is designed for TypeScript developers looking to incorporate advanced wallet management features into their applications with minimal effort - whether you’re building a new project or enhancing an existing one.

Prerequisites

This SDK is intended for use with TypeScript. Familiarity with TypeScript and modern JavaScript development practices using NodeJs is recommended.

You will need to create an application and API key from the Dashboard

Creating an application

Create an application using the Dashboard.

Getting an api key

In order to use this sdk, you must have an api key. You can obtain this in the dashboard.

Installation

npm i @stardust-gg/stardust-custodial-sdk

The NPM Package can be found here.

Usage

ts
import { StardustCustodialSDK } from '@stardust-gg/stardust-custodial-sdk';

const myApiKey = '<your-api-key-here>';

// initialize the sdk
const sdk = new StardustCustodialSDK(myApiKey);