Skip to main content

Getting Started

Install

The Dart SDK is currently in private beta testing phase. To begin using it, interested developers need to reach out to the Joltz team.

Example

import 'joltz-sdk.dart';

// create joltz sdk
final joltzSDK = JoltzSDK();

// First, you need to generate a seed phrase. This seed phrase is in the azseed format (like LND).
String seed = await joltzSDK.newSeed();

// Then you need to initialize the SDK.
final inst = await joltzSDK.initSDK(seed);

// Now you are all set, you can start calling SDK functions (i.e. create a bitcoin address!).
final address = await joltzSDK.bitcoin.newAddress();
print("address: $address"); // tb1pfx7tjsc0vs7vfjgjjy09dt2jq5p8fxjvs0442srth46rjmvjwp6qhw674w

Using the Signet Faucet (Assets)

Joltz offers a dummy asset on signet available via our faucet. The asset ID is 53b1309c60afd64068025de0c2a3d0bc01952cb6d8b0f9126da54dbda2d06ccf. You can send coins to yourself by doing the following:

  1. Create an Address.
// Set up the SDK like shown in the Example above.
// ...

// Create a Taproot Asset address for 1k units or less.
String USDT_ID = "53b1309c60afd64068025de0c2a3d0bc01952cb6d8b0f9126da54dbda2d06ccf";
String newTapAddress = await joltzSDK.tap.newAddress(USDT_ID, 123);
print("newTapAddress: $newTapAddress");
  1. Make a request to the faucet.
curl "https://signet-faucet-1-796811734715.us-west1.run.app/v1/fund?address=${ADDRESS}"
  1. Done, you should see your assets in your balance after your funding transaction is confirmed.

Using the Signet Faucet (Bitcoin)

You can request signet coins from the public faucet.

  1. Create an Address.
// Set up the SDK like shown in the Example above.
// ...

// Create the address.
final address = await joltzSDK.bitcoin.newAddress();
print("address: $address"); // tb1pfx7tjsc0vs7vfjgjjy09dt2jq5p8fxjvs0442srth46rjmvjwp6qhw674w
  1. Fill out this form with the address: signet25.bublina.eu.org/.