Skip to main content
This guide demonstrates how to integrate Privy with Biconomy’s AbstractJS to enable EIP-7702 gas abstracted transactions. You’ll learn how to:
  • Create smart accounts from embedded wallets
  • Sign EIP-7702 authorizations
  • Use runtime-injected parameters
  • Execute transactions across chains

1. Install dependencies

2. Configure Privy

Ensure your app creates embedded wallets upon login. For a detailed guide on how to initialize Privy, follow their docs

3. Full Flow Implementation (Step-by-Step)

1

Setup Imports and Constants

2

Access Embedded Wallet and Create Wallet Client

3

Sign EIP-7702 Authorization

In this step we will be signing the EIP-7702 authorization, effectivelly installing the code of the Biconomy Nexus smart account onto the address of our Privy EOA! Learn more about it here
4

Create Multichain Smart Account

5

Create MEE Client

6

Build Runtime-Injected Instruction

7

Execute Gasless Composable Transaction

Learn More About EIP-7702 Authorizations
8

Wait for Transaction Receipt

Summary

This implementation demonstrates:
  • How to derive a smart account at the EOA address using EIP-7702
  • Inject dynamic values using runtimeERC20BalanceOf
  • Abstract gas fees using any ERC-20 token (USDC in this case)
  • Execute safe, constraint-driven transactions using MEE
Use this pattern as a base for more advanced orchestration or cross-chain strategies.