https://github.com/metamask/hello-gator
Minimal Viable Gator 🐊
https://github.com/metamask/hello-gator
4337 account-abstraction delegation metamask smart-wallet user-operations viem web3
Last synced: 9 months ago
JSON representation
Minimal Viable Gator 🐊
- Host: GitHub
- URL: https://github.com/metamask/hello-gator
- Owner: MetaMask
- Created: 2024-08-23T05:32:26.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-02-28T07:11:23.000Z (about 1 year ago)
- Last Synced: 2025-06-05T10:50:29.027Z (9 months ago)
- Topics: 4337, account-abstraction, delegation, metamask, smart-wallet, user-operations, viem, web3
- Language: TypeScript
- Homepage: https://hello-gator.vercel.app/
- Size: 421 KB
- Stars: 17
- Watchers: 46
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Hello Gator 🐊
Easily get up-to-speed with (and integrate) the MetaMask Delegation Toolkit with this demonstration. It includes examples for all the core elements including Delegator Account (ERC-4337) creation, sending User Operations, and the Delegation lifecycle. Example code is provided utilising the Delegator Smart Account.
Note: this template is also designed to complement the [documentation](https://docs.gator.metamask.io).
## Dependency Setup
> Note that the package `@metamask-private/delegator-core-viem` is currently published as a private package.. Please get in touch with the team for access at hellogators@consensys.io.
Once configured, you'll be able to install the dependencies (both private and public) via the following:
```sh
yarn install
```
## Configuration
Configuration is provided via environment variables, you may create a `.env` file in the root of Hello Gator, including the configuration parameters defined in `.env.example`.
Refer to the [documentation](https://docs.gator.metamask.io) for further information on configuration.
## Running
Start development environment:
```sh
yarn dev
```
## Support
Feel free to open an issue or contact the team directly at [hellogators@consensys.io](mailto:hellogators@consensys.io).