Skip to content

Files

Latest commit

52cdaf9 · Nov 28, 2024

History

History

docs

📚 Wallet Infra SDK Documentation

Welcome to the documentation for Wallet Infra SDK! This guide will help you navigate our powerful toolkit for managing wallets, transactions, and assets within the Brillion ecosystem.

🚀 Installation

Install the Wallet Infra SDK into your project with a single command:

npm install @brillionfi/wallet-infra-sdk

🔑 Obtain your API key

Visit the Brillion Dashboard to set up your organization and create your first application. This process will give you a unique API key (appId).

⚡ Initialize the SDK

To start using the SDK, you need to initialize it with your API key:

import { WalletInfra } from '@brillionfi/wallet-infra-sdk';

// Initialize the SDK
const appId = 'your-app-id';
const baseUrl = 'your-base-url';
const walletInfra = new WalletInfra(appId, baseUrl);

Note

Make sure to replace "your-app-id" with the actual API key you obtained from the Brillion Dashboard.

🧩 Core Modules

The Wallet Infra SDK is organized into several modules, each handling specific functionalities:

🔐 Authentication

The Authentication module handles user creation and authentication:

👛 Wallet

The Wallet module provides functionality for creating and managing wallets:

🪙 Token

The Token module provides functionality for retrieving information about tokens on a network:

📜 Transaction

The Transaction module handles the management of wallet transactions, retrieving transaction details, and estimating gas costs:

📜 KYC

The KYC module handles KYC management to create a KYC session

👣 Next Steps

Now that you're familiar with the structure of the Wallet Infra SDK, you can dive deeper into each module based on your specific needs.

Check out our Simple Wallet Demo to see the Wallet Infra SDK in action.

💬 Support

If you encounter any issues or have questions, please open an issue or contact the Brillion support team.