{"id":23448798,"url":"https://github.com/zkfriendly/erc4337-template","last_synced_at":"2025-09-04T02:40:56.715Z","repository":{"id":266964051,"uuid":"899891204","full_name":"zkfriendly/erc4337-template","owner":"zkfriendly","description":"This Porject provides a template for developing ERC4337 Smart Accounts. With an integrated bundler for testing.","archived":false,"fork":false,"pushed_at":"2024-12-07T09:49:02.000Z","size":108,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-15T18:08:17.355Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zkfriendly.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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-12-07T09:48:04.000Z","updated_at":"2024-12-07T09:49:10.000Z","dependencies_parsed_at":"2024-12-07T10:35:54.680Z","dependency_job_id":null,"html_url":"https://github.com/zkfriendly/erc4337-template","commit_stats":null,"previous_names":["zkfriendly/erc4337-template"],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zkfriendly%2Ferc4337-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zkfriendly%2Ferc4337-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zkfriendly%2Ferc4337-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zkfriendly%2Ferc4337-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zkfriendly","download_url":"https://codeload.github.com/zkfriendly/erc4337-template/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248144580,"owners_count":21054952,"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-12-23T22:18:41.578Z","updated_at":"2025-04-10T02:36:32.914Z","avatar_url":"https://github.com/zkfriendly.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ERC4337 Smart Account Development Template\n\nThis Porject provides a template for developing ERC4337 Smart Accounts. With an integrated bundler for testing.\n\n## 🚀 Quick Start\n\n### Prerequisites\n\n- [Docker](https://www.docker.com/) installed and running\n- [Node.js](https://nodejs.org/) and npm (or [Yarn](https://yarnpkg.com/))\n\n### Setup\n\n0. Setup environment variables:\n\n   ```bash\n   cp .env.example .env\n   ```\n\n   Edit `.env` with your desired settings.\n\n1. Start the local blockchain node and bundler:\n\n   ```bash\n   docker compose up --build\n   ```\n\n2. Open a new terminal and install contract dependencies and setup environment variables (the default values should work for most users):\n\n   ```bash\n   cd contracts \u0026\u0026 yarn \u0026\u0026 cp .env.example .env\n   ```\n\n## 🧪 Testing (Optional)\n\nRun the smart contract tests:\n```bash\nnpx hardhat test --network dev\n```\n\n### Controlling test environment\n\nYou can control the test environment by setting the `BUNDLER` environment variable to either `unsafe` or `safe`. The default is `safe`.\n\n- `unsafe` will use the unsafe bundler which does not enforce limitations like storage access.\n- `safe` will use the safe bundler which enforces limitations like storage access.\n\nAlso the `STAKE_ACCOUNT` environment variable can be set to `true` to automatically stake ETH to the email account.\nThis is useful for when working with the safe bundler that only works with stakes.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzkfriendly%2Ferc4337-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzkfriendly%2Ferc4337-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzkfriendly%2Ferc4337-template/lists"}