UNPKG

@renegade-fi/core

Version:
10 lines 423 B
import { stringifyForWasm } from "../utils/bigJSON.js"; import { getBackOfQueueWallet } from "./getBackOfQueueWallet.js"; /** * Compute the nullifier for the relayer's current view of the wallet. */ export async function getWalletNullifier(config) { const wallet = await getBackOfQueueWallet(config); return config.utils.wallet_nullifier(stringifyForWasm(wallet)); } //# sourceMappingURL=getWalletNullifier.js.map