{"id":28425251,"url":"https://github.com/metamask/templated-gator-7715","last_synced_at":"2026-03-12T21:07:20.433Z","repository":{"id":288117715,"uuid":"966522800","full_name":"MetaMask/templated-gator-7715","owner":"MetaMask","description":"MetaMask Advanced Permissions (ERC-7715) Example","archived":false,"fork":false,"pushed_at":"2025-12-19T07:55:32.000Z","size":323,"stargazers_count":5,"open_issues_count":2,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-12-19T19:50:45.841Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://templated-gator-7715.vercel.app","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/MetaMask.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":null,"patreon":null,"open_collective":"metamask","ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null}},"created_at":"2025-04-15T03:53:58.000Z","updated_at":"2025-12-18T18:47:21.000Z","dependencies_parsed_at":"2026-01-05T22:04:08.797Z","dependency_job_id":null,"html_url":"https://github.com/MetaMask/templated-gator-7715","commit_stats":null,"previous_names":["metamask/templated-gator-7715"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/MetaMask/templated-gator-7715","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MetaMask%2Ftemplated-gator-7715","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MetaMask%2Ftemplated-gator-7715/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MetaMask%2Ftemplated-gator-7715/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MetaMask%2Ftemplated-gator-7715/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MetaMask","download_url":"https://codeload.github.com/MetaMask/templated-gator-7715/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MetaMask%2Ftemplated-gator-7715/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30444326,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-12T20:23:30.529Z","status":"ssl_error","status_checked_at":"2026-03-12T20:23:14.027Z","response_time":114,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":"2025-06-05T10:36:43.227Z","updated_at":"2026-03-12T21:07:20.402Z","avatar_url":"https://github.com/MetaMask.png","language":"TypeScript","funding_links":["https://opencollective.com/metamask"],"categories":[],"sub_categories":[],"readme":"# NextJS 7715 Starter Template\n\nThis is a NextJS 7715 Starter template created with [create-gator-app](https://www.npmjs.com/package/create-gator-app).\n\nThis template is meant to help you bootstrap your own projects with [Metamask Delegation Toolkit](https://docs.metamask.io/delegation-toolkit/). It helps you build smart accounts with account abstraction, and powerful delegation features.\n\nLearn more about [Metamask Delegation Toolkit](https://docs.metamask.io/delegation-toolkit/).\n\n## Prerequisites\n\n1. **Pimlico API Key**: In this template, we use Pimlico's Bundler and Paymaster services to submit user operations and sponsor transactions, respectively. You can retrieve the required API key from [Pimlico's Dashboard](https://dashboard.pimlico.io/apikeys).\n\n2. **RPC URL** In this template, you’ll need an RPC URL for the Sepolia chain. You can use any preferred RPC provider or a public RPC. However, we recommend using a paid RPC to ensure better reliability and avoid potential rate-limiting issues.\n\n## Project Structure\n\n```bash\nerc7715-starter/\n├── public/ # Static assets\n├── src/\n│ ├── app/ # App router pages\n│ ├── components/ # UI Components\n│ │ ├── CreateSessionAccount.tsx # Component for creating a session account\n│ │ ├── GrantPermissionsButton.tsx # Component for granting permissions\n│ │ ├── Hero.tsx # Hero section component\n│ │ ├── InstallFlask.tsx # Component for installing MetaMask Flask\n│ │ ├── Loader.tsx # Loading indicator component\n│ │ ├── PermissionInfo.tsx # Component for displaying permission information\n│ │ ├── RedeemPermissionButton.tsx # Component for redeeming permissions\n│ │ ├── Steps.tsx # Step-by-step guide component\n│ │ └── WalletInfoContainer.tsx # Component for displaying wallet information\n│ ├── providers/ # React Context Providers\n│ │ ├── PermissionProvider.tsx # Provider for permission state\n│ │ └── SessionAccountProvider.tsx # Provider for session account state\n│ ├── services/ # Service layer for API interactions\n│ └── config.ts # Configuration settings\n├── .env # Environment variables\n├── .gitignore # Git ignore rules\n├── next.config.ts # Next.js configuration\n├── postcss.config.mjs # PostCSS configuration\n├── tailwind.config.ts # Tailwind CSS configuration\n└── tsconfig.json # TypeScript configuration\n```\n\n## Setup Environment Variables\n\nUpdate the following environment variables in the `.env` file located in your project's root directory.\n\n```\nNEXT_PUBLIC_PIMLICO_API_KEY =\nNEXT_PUBLIC_RPC_URL= \n```\n\n## Getting Started\n\nFirst, start the development server\n\n```bash\nyarn dev\n```\n\nOpen [http://localhost:3000](http://localhost:3000) with your browser to see the result.\n\n## Application Flow\n\nThis template demonstrates a complete ERC7715 delegation flow:\n\n1. **Create Session Account**: Users can create a delegator smart account that will be used to redeem permissions.\n2. **Grant Permissions**: Users can grant permissions to the session account, which involves installing MetaMask snaps and approving the delegation.\n3. **Redeem Permissions**: The session account can redeem the granted permissions to perform actions on behalf of the user.\n\n## Learn More\n\nTo learn more about Delegation Toolkit, take a look at the following resources:\n\n- [Delegation Toolkit Documentation](https://docs.metamask.io/delegation-toolkit/) - learn about Delegation Toolkit features and API.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmetamask%2Ftemplated-gator-7715","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmetamask%2Ftemplated-gator-7715","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmetamask%2Ftemplated-gator-7715/lists"}