Closed KannuSingh closed 1 month ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
decentralized-relay-wallet | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Jul 10, 2024 3:28pm |
react-wallet-v2 | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Jul 10, 2024 3:28pm |
This PR removes the toggle enable local AA and instead checks the
.env
values forNEXT_PUBLIC_LOCAL_BUNDLER_URL
,NEXT_PUBLIC_LOCAL_PAYMASTER_URL
, andNEXT_PUBLIC_LOCAL_CLIENT_URL
to override the respective URLs.The previous implementation(#634) assumed
31337
(Foundry chain), but this is only the case if we run an anvil instance without forking any chain. For example, if we fork theSepolia
testnet, the chainId of the local running anvil chain will also be that of theSepolia
chain. This removes the need to use Foundry as a separate chain.For more information on how to set up local testing, refer to how to setup local-testing.
When running the project locally and wanting to use the local forked network and AA setup, just add the .env variable values, and the project will automatically use the local setup: