Create a new Mega project with boilerplate code
init
command creates a new project with boilerplate code configured for MegaETH.
Argument | Description |
---|---|
project-name | Name of the project directory to create (optional, will prompt if not provided) |
Option | Description |
---|---|
--frontend | Create a frontend-only project (NextJS + WalletConnect) |
--foundry | Create a Foundry-only project configured for Mega testnet |
init
command uses the following template repositories. If you have suggestions for improving any of these templates, you can submit pull requests to the respective GitHub repositories:
Project Type | Template Repository |
---|---|
Full-stack (default) | github.com/awesamarth/mega-starter-full |
Frontend-only | github.com/awesamarth/mega-starter-frontend |
Foundry-only | github.com/awesamarth/mega-starter-foundry |