import { preProcessing as e } from "../common/src/crypto/preProcessing.mjs";
import { Hinkal as t } from "../services/Hinkal.mjs";
import "../services/index.mjs";
import n from "../common/src/providers/WagmiProviderAdapter.mjs";
//#region libs/shared/sdk/src/providers/prepareWagmiHinkal.ts
var r = async (r, i) => {
	await e();
	let a = new t(), o = n();
	return o.initConfig?.(i), await a.initProviderAdapter(r, o), await a.initUserKeys(), await a.resetMerkle(), a;
};
//#endregion
export { r as prepareWagmiHinkal };
