Questions tagged [erc-4337]
The erc-4337 tag has no usage guidance.
45 questions
0
votes
1
answer
13
views
predicting safe addresses
given identical salt and other options (owner, threshold) and deploying two safes on respectively gnosis and base, i would expect the predicted safe address to be the same. But somehow they are not. I ...
0
votes
0
answers
11
views
Paymaster validation during ERC-4337 Gas Estimation phase
In my paymaster contract, I want to carry out validation (in _validatePaymasterUserOp) of the userop signature for certain operations.
To do this I'm executing
ECDSA.recover(ECDSA....
1
vote
1
answer
18
views
How to detect ERC-4437 Ethereum transfers
I have an address I'm monitoring and for straight Eth transfers its simple but I am struggling to detect ERC-4337 transfers.
I can filter on user operation events:
const USER_OPERATION_EVENT = id('...
0
votes
1
answer
27
views
deploy safe global 4337 on Arbitrum Sepolia
I found that Safe Global 4337 module is deployed on Arbitrum Sepolia (and BSC testnet). And the smartcontracts are here for v1.4.1.
However when I tried safe4337Pack and these docs I receveid an error ...
0
votes
1
answer
54
views
How to make the Safe pay for the gas fees using Safe4337Pack with a threshold larger than 1
Background
Based on this guide, https://docs.safe.global/sdk/relay-kit/guides/4337-safe-sdk#create-a-user-operation, there is a part where it says
By default, the transaction fees will be paid in the ...
0
votes
0
answers
26
views
Is there a way to import ERC4337 smart wallet to another app or extract its private key?
I was using Obvious! ERC4337 smart wallet for several months without any issue. Recently there is a problem on my app I can't send or sign any swaps using their app on my smartphone. Not sure if it is ...
0
votes
1
answer
66
views
Error: Safe is not yet deployed
Follow up question on Sponsoring the deployment of a Safe without the need to create another transaction
I am trying to change the threshold of a recently created Safe. The function I provide, runs ...
4
votes
0
answers
42
views
How do ERC-4337 bundlers get UserOps from a private alt mempool?
I got to see a post on ERC-4337 alt mempool Is EIP4337 UserOperation mempool a P2P decentralized mempool?
Am having the same question, I want to create bundlers for my app and want them to only ...
0
votes
1
answer
35
views
How does OKx smart account work with Uniswap and 1inch?
To my understanding, with ERC-4337 AA smart account, users are submitting user ops to the bundler service instead of an ordinary ethereum transaction to the RPC. Therefore, I used to assume that DApps ...
0
votes
1
answer
57
views
How to dynamically get the user operation gas values?
I'm developing smart wallet based application using ERC-4337 v0.6 . I'm trying to dynamically get the gas values of a user operation.
Currently I'm using Stackup's bundler for sending user operations ....
1
vote
1
answer
72
views
Is there a bundler that can be used with normal EOA without AA?
I've been playing around with ERC-4337: Account Abstraction Using Alt Mempool, it seems that there is a way to send multiple transactions and ensures they all returns success in sequential order. ...
1
vote
0
answers
61
views
Address passed to thirdweb is not getting passed correctly
I'm building a smart wallet that is ERC 4337 compatible, for that I'm using the thirdweb accountfactory contract. Now when creating a smart wallet I'm passing the address of the account factory ...
0
votes
0
answers
30
views
Why is the innerHandleOp() function declared as external in EntryPoint in ERC-4337?
Looking at the code below, there is a comment that says "Must be declared "external" to open a call context, but it can only be called by handleOps.", but I'm not sure what exactly ...
1
vote
1
answer
19
views
ERC6551 and module style
I would use ERC6551 to introduce accounts as NFTs into the game.
I believe that adding a modular style to the account contraption would make it an extensible contraption.
However, in contrast to ...
0
votes
0
answers
43
views
How do I remove a SimpleAccount.sol ERC-4337 smart Contract from metamask wallet
looks like I was duped into signing up to this smart contract by an influencer, should of known better....used remix.ethereum.org and lost a few decent holdings across various chains, ARB, AVAX, MATIC....
4
votes
0
answers
120
views
ERC4337's biggest confusions in terms of social logins
After some digging, I realize that I am not able to understand this subject. I understand the source code of ERC4337's entrypoint and how paymasters and wallet contracts are written(mainly ...
2
votes
0
answers
112
views
How to do a paymaster from scratch?
I just read and learned about the account abstraction concept, and I like it when I know it has a gas-less concept (paymaster).
During reading and implementing, I have some questions:
If I start ...
0
votes
1
answer
99
views
Implement wallet abstraction locally : Do I need a bundler node?
I'm trying to implement wallet abstraction locally using Anvil.
I've deployed the required contracts.
Now I'm wondering if I have to set up a local node bundler for my local Anvil network to bundle ...
0
votes
0
answers
35
views
ERC4337 Account Abstraction General Concept
I have been reading about ERC4337, and can someone verify my understanding?
All the RPC methods like eth_sendUserOperation, eth_estimateUserOperationGas are computed off-chain and does not interact ...
1
vote
2
answers
574
views
How to sign Transactions in smart contract account in erc 4337?
We can create a smart contract account using ERC-4337 right, now using that account we can interact with other smart contracts and it can hold assets, but my query is how can a smart contract account ...
0
votes
1
answer
159
views
Troubleshooting a Failing Transaction in Ethereum Account Abstraction
I'm attempting to use account abstraction for transactions on the Mumbai chain without a paymaster, where my smart contract wallet pays the fees. Despite following the process and checking against the ...
1
vote
1
answer
89
views
Using .call to send funds to Smart Contract Wallet account
I have the following function in my smart contract which fails to send funds to a Smart Contract Wallet (SCW). It works fine with standard accounts. I explicitly set gas to 0 because this is an ...
0
votes
2
answers
85
views
Is there a recommended pattern to add multiple 4337-compatible modules to a safe?
Is there a pattern that Safe advises for adding multiple 4337-compatible modules to a Safe?
4337-compatible module meaning a module that can be added/removed to a Safe that can be called through a ...
2
votes
1
answer
433
views
How does ERC-4337 play with the Bundler and msg.sender?
We typically know thay msg.sender stands for the address who invoked the current method of a contract.
Let's say that I have address A (which is a Smart Contract abstract account) and I want to send ...
1
vote
1
answer
193
views
Generic "Error" with no further message when trying to interact with ERC-4337 Entry Point from Remix IDE
I try to learn basics of ERC-4337 standard, so I deployed a simplest possible example of a contract implementing account interface on Goerli testnet - it just has one operation that changes its ...
2
votes
1
answer
169
views
Is it possible to create a paymaster that use ethers in smart contract wallet as gas payment
In the context of ERC-4337/account abstraction, we know that paymasters are able to sponsor a UserOperation from a smart contract wallet, we can even allow the use of an ERC20 token in a smart ...
1
vote
0
answers
67
views
Safe wallet targeting alternative bundlers / paymasters?
In July the Safe team announced
Previously, developers building on Safe{Core} were able to build on the Relay Kit using technology from Gelato. With ERC-4337 integrations supported in v.1.4.1, ...
0
votes
2
answers
67
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
3
votes
0
answers
374
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
525
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 ...
1
vote
1
answer
48
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
...
0
votes
1
answer
294
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 ...
1
vote
2
answers
276
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
177
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
1
answer
54
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?
1
vote
2
answers
2k
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
372
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
0
answers
249
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
84
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
262
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
...
2
votes
1
answer
207
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 ...
0
votes
1
answer
182
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 ...
1
vote
2
answers
402
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
1k
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 ...
14
votes
2
answers
4k
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, ...