import { currentTronChainId 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/TronProviderAdapter.mjs";
import { Hinkal as r } from "../services/Hinkal.mjs";
import "../services/index.mjs";
//#region libs/shared/sdk/src/providers/prepareTronHinkal.ts
var i = async (i, a) => {
	await t();
	let o = new r(a), s = n(e);
	return await o.initProviderAdapter(i, s), await o.initUserKeys(), await o.resetMerkle(), o;
};
//#endregion
export { i as prepareTronHinkal };
