Questions tagged [erc-4337]
The erc-4337 tag has no usage guidance.
25
questions
13
votes
2
answers
2k
views
How to start with ERC-4337?
I cannot find a guide about using ERC-4337 along with a Solidity contract.
It is an interface like ERC-20, ERC-721 or ERC-1155?
Could I use ERC-4337 just importing the interface (from OpenZeppelin, ...
2
votes
0
answers
51
views
Multi-sig Safe (formerly Gnosis Safe) ERC-4337 transaction with gas abstraction
Having a hard time estimating gas using eth_estimateUserOperationGas for a Safe execTransaction call wrapped in a UserOperation.
I have a safe contract deployed with the ethInfinitism ERC4337 Safe ...
2
votes
1
answer
116
views
Where can I get simple implementation of ERC 4337?
I read about https://eips.ethereum.org/EIPS/eip-4337 few months ago.
Now, I want to start implementing it for a project .
Is there any beginner friendly repository from where I can understand this erc ...
1
vote
1
answer
29
views
What does it mean when we say some proposal is compliant with ERC4337?
https://twitter.com/johnrising_/status/1688949899419693068?s=46&t=LOD6kc1r6c1fbygDtT3Qvg
I was reading this twitter thread today . Then I read about EIP6900
https://eips.ethereum.org/EIPS/eip-6900
...
1
vote
2
answers
243
views
ERC4337 Account abstraction access
I have been reading about the new ERC4337 proposal, however I have a question about its implementation:
If we abstract the Ethereum accounts and move completely from EOA to Smart Contract accounts, ...
1
vote
2
answers
585
views
EIP-4337 example implementation and source code
Heard about new boi in the town https://eips.ethereum.org/EIPS/eip-4337 .
Read its documentation but it is way too technical for a beginner like me . Can anyone explain it in simple terms ? I read the ...
1
vote
2
answers
580
views
How to create a raw ERC-4337 UserOperation from scratch and then send it to bundler?
I want to create a raw ERC-4337 UserOperation. I am using ethers library to write the test cases .
According to ERC-4337 official documentation , the UserOperation is a struct with many fields .
...
1
vote
1
answer
228
views
What does it mean for ERC-6551 to be ERC-4337 compatible
I read the specs of ERC-6551 and am missing the gap to ERC-4337.
ERC-6551 seems to be based on ERC-4337 according to various sources on the internet and the general terminology, but the specs do not ...
1
vote
1
answer
44
views
How to create a raw ERC-4337 UserOperation's PaymasterAndData field from scratch and then send it to bundler?
I am using Stackup's bundler to send my user operations.
I want to have my own Paymaster to let the user pay in ERC20 tokens. I cloned Pimlico's ERC20 Paymaster contract and deployed it. Now the issue ...
0
votes
2
answers
20
views
Can a user send a userOperation transaction without using theirs or any EOA?
How can a user send a userOperation without having to use an EOA?
Don't get how the EOA is abstracted, unless there is an Executor account signing those userOperations
0
votes
1
answer
79
views
Do Smart Contract wallets using ERC4337 allow wallet export?
From what we see in the ERC4337 documentation, SCW allow different architecture for transaction approvals. Unline EOA where we use ECDSA for signing transaction, with ERC4337, wallet developers will ...
0
votes
1
answer
43
views
ERC-4337 - Bundler development
I understood the ERC-4337, but I need to develop a Bundler for my job. But I don't know how to do it, I researched about it but I didn't find any great content. Please give me tips and explain how can ...
0
votes
2
answers
57
views
Keep getting insufficient funds for intrinsic transaction cost, when trying to send a pre-signed transaction for account abstraction transaction
Problem:
I am starting to explore account-abstraction and trying to run all the unit tests. Right now I am getting error in should deploy the factory test when trying to execute it on a private test ...
0
votes
1
answer
38
views
executeBatch in ERC-4337
I have a question regarding executeBatch
here is the code block
/**
* execute a transaction (called directly from owner, or by entryPoint)
*/
function execute(
address dest,
...
0
votes
0
answers
19
views
Account Abstraction: what needs to be done in order to allow it in a blockchain?
If I understand correctly, to allow Account Abstraction in an EVM blockchain it is necessary to setup an alternative mempool that let us process userOperation's instead of standard transactions.
Can ...
0
votes
0
answers
28
views
Why is ERC-4337 in "Draft" status?
Everybody saw that ERC-4337 is finally live on Mainnet and there were big announcements around this event: then why is it the standard back in "Draft" status?
0
votes
0
answers
30
views
Does ERC-4337 require an update to the network?
My understanding was that we needed to update the network so that contracts can sign transactions and messages, and so that contracts can be called with just a secret key or other auth methods, rather ...
0
votes
0
answers
45
views
How to generate a transaction with ethers setting a Paymaster to pay for the gas fees?
I want to generate a simple transaction from a Smart Wallet (Account Abstraction - ERC4337) but I also want to pay for gas fees on behalf of the user.
By looking at the UserOperation struct...
struct ...
0
votes
0
answers
45
views
How do I create erc4337 based smart contracts with custom rules using safe?
My goal is to create an application that has a good UI and allows users to create ERC4337 wallets with specific rules.
Currenlty, I am using web3auth to allow users to log in and get a pub/pvt key ...
0
votes
0
answers
44
views
Can EOA accounts interact with ERC-4337 paymasters?
My question is rather simple.
Can an EOA account pay some coins using ERC-4337 paymasters without having to pay gas fee itself?
Is there any way, having access to an EOA private keys, to withdraw ...
0
votes
0
answers
97
views
How i can install eth infinitism bundler locally to my system
i am new to learning account abstraction which is defined in ERC-4337. i had found the following repo on the github which is the implementation of bundler from the original authors of ERC-4337.
https:/...
0
votes
1
answer
52
views
Why do smart contract need to make any changes in for ERC-4337 to work?
I was reading How to start with ERC-4337? and trying to understand why doesn't my existing smart contract needs to be changed in order to cater to ERC-4337.
Suppose we have an ERC-20 smart contract ...
0
votes
1
answer
149
views
How can I create ERC-4337 with the modular pattern of Safe Contract?
I have been looking at samples from eth-infinitism and trying to implement ERC-4337 using Safe Contract v1.4.
https://github.com/eth-infinitism/account-abstraction/tree/v0.6.0/contracts/samples/gnosis
...
0
votes
0
answers
26
views
Is it possible to transfer Native-eth from wallet A to wallet B and transfer some erc20 token from wallet B to Wallet A in a single transaction?
Is it possible to transfer Native-eth from wallet A to wallet B and transfer some erc20 token from wallet B to Wallet A in a single transaction? Because Wallet B has zero native-eth and some some ...
0
votes
0
answers
50
views
Would ERC-4337 allow more fraud?
If Account Abstraction is going to be widely available, wouldn't scammers, just make you sign a smart contract (e.g. pretending to be a DEX or to buy an NFT) while the smart contract is actually an ...