Initialize SDK
import { SDK } from "joltz-js";
const sdk = new SDK({
chain: "signet"
dir: "./",
seed: "seed phrase"
});
Initialize the SDK. This will start the syncing process, which can take 1-2 minutes.
Parameters:
chain:mainnet.regtestorsimnetdir: directory to save wallet dataseed: seed phrase
Return Value:
The initialized SDK.