- 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 docs3. Full Flow Implementation (Step-by-Step)
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
Execute Gasless Composable Transaction
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