@renegade-fi/core
Version:
VanillaJS library for Renegade
10 lines • 423 B
JavaScript
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