Skip to main content
Version: SDK V4 (latest)

DAN

Read more about Distributed Keys here

info

These helpers are a beta feature and are subject to change. To use this feature use our beta package @biconomy-devx/account instead of @biconomy/account, add the following bunfig.toml configuration:

[install.scopes]
silencelaboratories = { token = "$VITE_SILENCE_LABS_NPM_TOKEN", url = "https://registry.npmjs.org" }

And obtain the VITE_SILENCE_LABS_NPM_TOKEN from our support team, and add it to your .env file

import { danSDK } from "@biconomy-devx/account"

const danSessionKeyPayload = await danSDK.generateSessionKey(...options);
const signature = await danSDK.signMessage("My message", ...moreOptions);