{"id":13767677,"url":"https://github.com/stackup-wallet/erc-4337-devnet","last_synced_at":"2025-05-10T23:30:49.576Z","repository":{"id":228507290,"uuid":"773274970","full_name":"stackup-wallet/erc-4337-devnet","owner":"stackup-wallet","description":"A simple Docker setup to deploy ERC-4337 infrastructure on your local dev environment.","archived":false,"fork":false,"pushed_at":"2024-04-29T04:30:45.000Z","size":21,"stargazers_count":7,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-08-03T16:09:40.706Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/stackup-wallet.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-03-17T08:06:53.000Z","updated_at":"2024-07-18T15:35:03.000Z","dependencies_parsed_at":"2024-03-19T05:46:47.864Z","dependency_job_id":"bb518d30-8ea1-4ab5-b08e-c5bdf79b8ae3","html_url":"https://github.com/stackup-wallet/erc-4337-devnet","commit_stats":null,"previous_names":["stackup-wallet/erc-4337-devnet"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stackup-wallet%2Ferc-4337-devnet","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stackup-wallet%2Ferc-4337-devnet/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stackup-wallet%2Ferc-4337-devnet/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stackup-wallet%2Ferc-4337-devnet/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stackup-wallet","download_url":"https://codeload.github.com/stackup-wallet/erc-4337-devnet/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224996547,"owners_count":17404485,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-03T16:01:10.942Z","updated_at":"2024-11-17T03:30:32.958Z","avatar_url":"https://github.com/stackup-wallet.png","language":"Shell","funding_links":[],"categories":["Uncategorized"],"sub_categories":["Uncategorized"],"readme":"# ERC-4337 Devnet\n\nA simple Docker setup to deploy ERC-4337 infrastructure on your local dev environment.\n\n\u003e **🚀 Need access to Smart Account infrastructure for your production environment? Check out [stackup.sh](https://www.stackup.sh/)!**\n\n## Usage\n\nThe following command will deploy a local devnet with all the required ERC-4337 infrastructure components ready to go.\n\n```bash\ndocker-compose up\n```\n\nYou can run the following command to check if the devnet is ready. This signals that the relevant contracts have been deployed to the devnet and all infra components are up and running.\n\n```bash\nmake wait\n```\n\nYou can point you local applications to any of these RPC URLs:\n\n- `http://localhost:8545` for access to all node and bundler RPC methods.\n- `http://localhost:8546` for node RPC methods only.\n- `http://localhost:43370` for bundler RPC methods only.\n- `http://localhost:43371` for paymaster RPC methods only.\n\n## Useful commands\n\nFund any address on the devnet:\n\n```bash\n# ADDRESS and ETH can be set to any value.\nmake fund-address ADDRESS=0x... ETH=1\n```\n\n## Relevant entities\n\nThe ERC-4337 devnet uses the following mnemonic and derived entities. **These should be strictly used for development and testing only and never in production.**\n\n### Mnemonic\n\nThis is used to derive all EOAs, particularly the Bundler account and Paymaster signer.\n\n```\ntest test test test test test test test test test test junk\n```\n\n### Primary EOA\n\nThis is the first EOA account derived from the mnemonic above. It uses the default path `m/44'/60'/0'/0/0`.\n\n```\nAddress: 0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266\nPrivate Key: 0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80\n```\n\n### V0.6 Stackup paymaster contract\n\nThis is the [Stackup verifying paymaster](https://github.com/stackup-wallet/contracts) contract for `v0.6`. The signer for this contract is the primary EOA above.\n\n```\nAddress: 0x42051Fa8F6c012102899c902aA214f1e97bD8aDb\n```\n\n## Components\n\nThe ERC-4337 devnet is composed of several pieces:\n\n- `node`: go-ethereum running in dev mode. It runs the [ERC-4337 Execution Client](https://github.com/stackup-wallet/erc-4337-execution-clients) build to leverage native bundler tracers.\n- `bundler`: stackup-bundler that depends on `node` for the underlying ethereum client.\n- `proxy`: [OpenResty](https://openresty.org/en/) server used to proxy JSON-RPC methods to the `node` or `bundler`.\n- `fund-account`: A one off command to fund the primary EOA on startup.\n- `deploy-v0.6`: A one off command to deploy `v0.6` ERC-4337 contracts.\n- `deploy-v0.6-stackup-paymaster`: A one off command to deploy a Stackup verifying paymaster for `v0.6`.\n- `stake-v0.6-stackup-paymaster`: A one off command to stake the `v0.6` Stackup verifying paymaster.\n- `deposit-v0.6-stackup-paymaster`: A one off command to deposit funds to the `v0.6` Stackup verifying paymaster.\n- `get-v0.6-stackup-paymaster`: A one off command to get the deposit info for the `v0.6` Stackup verifying paymaster.\n- `deploy-v0.7`: A one off command to deploy `v0.7` ERC-4337 contracts.\n- `paymaster`: stackup-paymaster that depends on `node` for the underlying ethereum client and contract from `deploy-v0.6-stackup-paymaster`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstackup-wallet%2Ferc-4337-devnet","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstackup-wallet%2Ferc-4337-devnet","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstackup-wallet%2Ferc-4337-devnet/lists"}