Account Abstraction - entryPoint address #1950
-
While going through the account-abstraction section, on the HelperConfig, there were these codes : function getEthMainnetConfig() public pure returns (NetworkConfig memory) {
// This is v7
return NetworkConfig({
entryPoint: 0x0000000071727De22E5E9d8BAf0edAc6f37da032,
usdc: 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48,
account: BURNER_WALLET
});
// https://blockscan.com/address/0x0000000071727De22E5E9d8BAf0edAc6f37da032
}
function getEthSepoliaConfig() public pure returns (NetworkConfig memory) {
return NetworkConfig({
entryPoint: 0x5FF137D4b0FDCD49DcA30c7CF57E578a026d2789,
usdc: 0x53844F9577C2334e541Aec7Df7174ECe5dF1fCf0, // Update with your own mock token
account: BURNER_WALLET
});
}
function getArbMainnetConfig() public pure returns (NetworkConfig memory) {
return NetworkConfig({
entryPoint: 0x0000000071727De22E5E9d8BAf0edAc6f37da032,
usdc: 0xaf88d065e77c8cC2239327C5EDb3A432268e5831,
account: BURNER_WALLET
});
}
… I have a few questions regarding the entryPoint addresses :
As these info are hard-coded addresses, would appreciate if someone can help to explain in more details to clear the doubts above. Thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 5 replies
-
I am yet to take this section of the course as of now so I might not be very helpful but If you haven't finished the section I will say you should keep going as Patrick might later touch on all of this questions before the end of the course. Anyways we can look forward to @PatrickAlphaC help as soon as they are available. |
Beta Was this translation helpful? Give feedback.
-
I find this QA link helps to clear part of the doubts : but still have no idea where/how I can get the latest/verfied deployment address of entryPoint if it is not provided in the additional comment |
Beta Was this translation helpful? Give feedback.
-
Hi, I actually asked myself the same question! That's why I simply searched for this exact address on etherscan. Here I was able to see exactly what this contract does for "0x5FF137D4b0FDCD49DcA30c7CF57E578a026d2789" and exactly what it has to do with account abstraction (EIP-4337). However, I haven't checked exactly whether this contract is now upgradable or remains on the chain forever. I hope I was able to help you. Here are the links: |
Beta Was this translation helpful? Give feedback.
-
Technically, you can use any EntryPoint address you want! We as a community have decided to use the ones created by this group as the Ethereum foundation put out a grant for someone to deploy the codebase, and they were the ones who did it. I had to check their deployments in order to confirm, I asked them to update their docs with proper addresses, but they have not responded :/
See the above answer ^. The
If someone used
It sort of doesn't matter! Your account can/will work with any version of entrypoint so long as it conforms to the standards. Only the alt-mempool nodes need to care about what
Yep! Great question! It's sort of the same as "What is the official Uniswap address?", well, you're probably looking for the one deployed by "Uniswap Labs", but technically, you could use any contract deployed by anyone that has the Uniswap code. |
Beta Was this translation helpful? Give feedback.
Technically, you can use any EntryPoint address you want! We as a community have decided to use the ones created by this group as the Ethereum foundation put out a grant for someone to deploy the codebase, and they were the ones who did it. I had to check their deployments in order to confirm, I asked them to update their docs with proper addresses, but they have not responded :/
See the above answer ^. The
EntryPoint.sol
can be any contract that the alt-mempool nodes decide t…