The b402 Relayer contract is currently unaudited and not intended for production use. It should only be deployed in testing or development environments.
Key Capabilities
The b402 Relayer serves as a meta-transaction executor for tokens that do not natively implement EIP-3009 orpermit() functionality.
It allows a facilitator to submit a signed authorization from a user and pay the associated gas cost to execute the transfer on-chain.
This design enables off-chain payment authorization, ideal for agents, automated clients, or users without BNB for gas.
Features:
- Executes gasless BEP-20 or ERC-20 transfers (e.g., USDT, USDC, BUSD)
- Verifies EIP-712 signatures for authenticity
- Prevents replay attacks using nonces
- Enforces validity windows (validAfter,validBefore)
- Supports token whitelisting for enhanced security
- Compatible with all standard EVM tokens on BNB Chain
How It Works
- 
User signs off-chain authorization
 The user (or agent) signs an EIP-712 message authorizing a specific token transfer.
 Example message:“I authorize the transfer of 1 USDT from my address to the recipient.” 
- 
Facilitator verifies and relays on-chain
 The facilitator validates the user’s signature locally.
 If valid, it calls thetransferWithAuthorization()function on the Relayer contract and pays the gas for execution.
- 
Contract executes the transfer
 The Relayer verifies the signature, ensures nonce and time constraints are met, and then calls the token contract’stransferFrom()function on behalf of the user.