import { currentSolanaChainId as e } from "../constants/chains.constants.mjs";
import { preProcessing as t } from "../crypto/preProcessing.mjs";
import "../crypto/index.mjs";
import n from "./SolanaProviderAdapter.mjs";
import { Hinkal as r } from "../data-structures/Hinkal/Hinkal.mjs";
import "../data-structures/index.mjs";
//#region libs/shared/common/src/providers/prepareSolanaHinkal.ts
var i = async (i, a, o) => {
	await t();
	let s = new r(o), c = n(e, a);
	return await s.initProviderAdapter(i, c), await s.initUserKeys(), await s.resetMerkle(), s;
};
//#endregion
export { i as prepareSolanaHinkal };
