UTXO Native Chain SDK Installation

This guide will enable developers to integrate Findora Protocol features into a their wallet and discusses two key parts of this process:

  • Installing the Findora SDK

  • Setting Up the Findora SDK

  • Using the most commonly called wallet features

Developers should be able to integrate Findora features such as sending FRA to another wallet, checking the FRA balance, etc. into their crypto wallet, crypto exchange or Dapp by following this guide.

Installing the Findora SDK​

To install the Findora SDK we only need to run one single command:

yarn add @findora-network/findora-sdk.js

Setting Up the Findora SDK​

  • 1. Setup the Findora SDK

    // First, we need to import the findora sdk package
    const findoraSdk = await import("@findora-network/findora-sdk.js");
    
    // Before using the sdk, we need to configure it so it knows which server to connect to
    const sdkEnv = { hostUrl: "http://127.0.0.1" };
    const { Sdk } = findoraSdk;
    Sdk.default.init(sdkEnv);
    
    // That is it! after that Findora sdk is ready to use!

Using the most commonly called wallet features​

NOTE: You can always find more examples here.

  • 2. Create a Findora wallet

  • 3. Restore a previously created Findora wallet

    A previoulsy created wallet can be restored either using a mnemonic or a private key. Both examples are shown below.

  • Restore from a mnemonic

  • Restore from a private key

  • 4. Send FRA to another wallet

  • 5. Send FRA to multiple wallets

  • 6. Create a custom asset

  • 7. Issue Asset (Note: after creating a new asset, it has no balance. You must first "issue" the asset)

  • 8. Send custom asset to another wallet

  • 9. Send tokens confidentially

  • 10. Check token balance

Last updated

Was this helpful?