Relay & SDK overview
The managed relay lets your users transact gaslessly. A user signs a 7702 authorization and a batch digest; Kryard signs, fronts the gas, and broadcasts the EIP-7702 type-4 transaction. Your user gets smart-wallet-grade UX — batched calls, no native ETH required — with no 4337 bundler.
The flow
- The user's EOA signs a 7702 authorization delegating its code to a delegate contract for one transaction.
- The user signs the batch digest (the calls to run as the EOA).
- Your backend submits both to Kryard's relay route, authenticated with
X-Stamp. - Kryard's relayer key signs and broadcasts the type-4 transaction, paying the gas. Usage is metered against your prepaid gas tank.
- You poll the relay until the transaction is
confirmed.
What the SDK gives you
KryardRelayClient— the X-Stamp-authed relay client (submit/get).sponsorExecute— sponsor a batch through the referenceKryardDelegate.sponsorCall— delegate-agnostic: bring your own 7702 delegate.createApiKeyStamper— a built-in, dependency-light X-Stamp signer (MIT).
Next
- Quickstart — install and sponsor your first batch.
- Pay gas in any token — ERC-20 gas reimbursement.
- Custom delegate —
sponsorCallwith your own delegate. - API reference — the raw relay routes.