← Back to home

hardhat-userOp

Hardhat plugin for sending ERC-4337 UserOperations with integrated tasks in hardhat CLI for better user experience.

Screenshots

hardhat-userOp screenshot 1
hardhat-userOp screenshot 2
hardhat-userOp screenshot 3
hardhat-userOp screenshot 4
hardhat-userOp screenshot 5

Problem Statement

We developed a Hardhat Plugin for building & sending UserOperations providing a range of different methods to use & extending the base provider. It is using ERC4337 logic to make userOperation transactions go smoothly and facilitate developers use cases with Account Abstraction on EVM chains.

Solution

We are using Typescript and ethers library for sending to the client. It is made with hardhat-ts-plugin-boilerplate (https://github.com/NomicFoundation/hardhat-ts-plugin-boilerplate). It is published on npm as a package (hardhat-useroperation). We have integrated with hardhat and added tasks so that users can simply invoke it by command CLI (npx hardhat <task_name>)

Hackathon

ETHGlobal Paris

2024

Contributors