Skip to content

setMnemonicPhrase

Allow to set mnemonic phrase after creation, to enable auth logic. Mnemonic phrase has to be composed by 12 words.

Usage

import { BcodeSDK } from "@bcode-tech/bcode-sdk";

const fun = () => {
  const sdk = new BcodeSDK({
    apiKey: "your-api-key",
    config: { env: "MUMBAI" },
  });

  sdk.setMnemonicPhrase("new-mnemonic-phrase");
};

Returns

No data returned.