A drop-in wrapper for any dApp or deploy script.
import { createReckonClient } from "@codeswithroh/reckon-sdk";
const reckon = createReckonClient();
// check before you send
const verdict = await reckon.preflight(tx);
if (verdict.willRevert) throw new Error(verdict.revertReason);
// or just send safely, tight gas limit included
const { hash } = await reckon.safeSend(tx);