Skip to main content

Get started with the SDK

This guide will help you get started with the Eniblock SDK in just a few minutes.

Importing the Library into Your Project

The following instructions assume you have a project already created.
// Import the Eniblock library
import { Eniblock } from "https://sdk.eniblock.com/js/eniblock-sdk";
const sdk = new Eniblock({
authConfig: {
clientId: "50efd4aa-2aa1-499c-87e2-db089409b818",
redirectUrl: window.location.origin + "/docs/",
},
});

Installation with NPM coming soon

To install the Eniblock SDK, you can use NPM:

npm install eniblock-sdk

Your First Use Case: Creating a Wallet

Now that you've set up the Eniblock SDK, it's time to create your first wallet. To do so, follow the steps outlined in the Wallet Creation Tutorial