A drop-in viem wrapper for any dApp or deploy script. Pre-flight before you send, or route a whole batch through the on-chain guard.
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);