Skip to content

yoms07/eip7702-poc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EIP-7702 POC

How to run

Node setup

  1. Install anvil
https://book.getfoundry.sh/anvil/
  1. Run anvil node with prague fork
anvil --hardfork prague
  1. Copy the first (0-index) signer private key to backend .env

Contract setup

cd contracts
npm install
npx hardhat run ./scripts/deploy.ts
npx hardhat run ./scripts/initSponsor.ts

Then copy the deployed address (Token1, Token2, BatchCallDelegation) to backend .env

Backend Setup

cd backend
npm install
ts-node ./src/index.ts

Frontend Setup

cd frontend
npm install
npm run dev

Go to http://localhost:3001

Feature

  1. Batch call
  2. Sponsored transaction
  3. EIP-7702

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published