import { preProcessing as e } from "../crypto/preProcessing.mjs";
import "../crypto/index.mjs";
import { Hinkal as t } from "../data-structures/Hinkal/Hinkal.mjs";
import "../data-structures/index.mjs";
import n from "./WagmiProviderAdapter.mjs";
//#region libs/shared/common/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 };
