For the complete documentation index, see llms.txt. This page is also available as Markdown.

Layer 2: Q402 Execution Fabric

The Q402 Execution Fabric is the transaction backbone of Quack AI’s autonomy architecture. It unifies payments, settlements, and policy enforcement through a single sign-to-pay system.

Q402 is Quack AI’s gasless payment protocol built on EIP-7702 + EIP-712. It allows users and agents to complete any on-chain action — payments, distributions, upgrades, or votes — by signing once, without holding gas tokens or executing manual approvals. Q402 supports any ERC-20 token without requiring token-side upgrades and is currently live across 7 EVM mainnets: Ethereum, BNB Chain, Avalanche C-Chain, X Layer, Mantle, Stable, and Injective EVM.

How It Works

Step

Action

Component

Output

1

User or agent signs an EIP-712 witness + EIP-7702 authorization

Q402 SDK + Wallet

Intent, parameters, and delegation defined

2

Relayer or facilitator submits transaction

Q402 Relay Layer

Gas sponsored and verified

3

Policy Engine validates compliance

Policy Module

Rule checks and limit enforcement

4

On-chain execution settles

Smart Contracts

Transfer, payout, or action finalized

5

Audit trail recorded

Q402 Registry

Signature linked to transaction hash

Key Capabilities

  • Gasless Transactions — Users or agents can act even with zero native token balance.

  • EIP-7702 Delegated Execution — Works with any existing ERC-20 token. No ERC-3009 support, token upgrades, or prior approvals needed.

  • Programmable Policies — Limits, expiry, whitelists, and audit hooks built in.

  • Facilitator Network — Agents or relayers that pay gas and maintain receipts.

  • Verifiable Receipts — Each signature produces a traceable transaction hash for audits.

Example Use Cases

Scenario
Outcome

DAO payouts

Distributions settle instantly after governance approval

RWA redemptions

NAV-based withdrawals with audit-proof receipts

Merchant or affiliate payments

One-signature settlements under policy guardrails

Agent-to-agent transactions

Automated data or API payments between AI systems

Q402 turns on-chain execution into a seamless experience — one that combines the simplicity of Web2 payments with the verifiability and decentralization of Web3.

Last updated