Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require(`../common/src/crypto/preProcessing.cjs`),t=require(`../common/src/providers/EthersProviderAdapter.cjs`),n=require(`../services/Hinkal.cjs`);require(`../services/index.cjs`);var r=async(r,i)=>{await e.preProcessing();let a=new n.Hinkal(i),o=t.default();return o.initSigner?.(r),await a.initProviderAdapter(void 0,o),await a.initUserKeys(),await a.resetMerkle(),a};exports.prepareEthersHinkal=r;