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