Quickly build apps backed by the EVM-based blockchain
Make sure you have a current version of Node.js installed – we are targeting versions 16+
.
Read about other prerequisites in our docs.
To test the tool on the local dev:
pnpm install && pnpm start
To install the tool globally on the local dev:
npm i -g
Then, the create-evm-app
binary will available with npx
command.
To create a new EVM fullstack dapp run this and follow interactive prompts:
npx create-evm-app
Follow the instructions in the README.md in the project you just created! 🚀
You can create contracts written in Solidity with:
You can create a frontend template with:
- NextJS
- Vite
This CLI supports arguments to skip interactive prompts:
npx create-evm-app
<project-name>
--contract hardhat|foundry|none
--frontend nextjs|vite|none
--subgraph the-graph|none
--install
Use --install
to automatically install dependencies from all package.json
files.
When using arguments, all arguments are required, except for --install
.
Check out our documentation or chat with us on Discord. We'd love to hear from you!
To make changes to create-evm-app
itself:
- clone the repository
- in your terminal, enter one of the folders inside
templates
, such astemplates/contracts/hardhat
- now you can run
npm install
to install dependencies andnpm run dev
to run the local development server, just like you can in a new app created withcreate-evm-app
create-evm-app
uses semantic versioning and auto-generates nice release notes & a changelog all based off of the commits. We do this by enforcing Conventional Commits. In general the pattern mostly looks like this:
type(scope?): subject #scope is optional; multiple scopes are supported (current delimiter options: "/", "\" and ",")
Real world examples can look like this:
chore: run tests with GitHub Actions
fix(server): send cors headers
feat(blog): add comment section
If your change should show up in release notes as a feature, use feat:
. If it should show up as a fix, use fix:
. Otherwise, you probably want refactor:
or chore:
. More info
If you want to deploy a new version, you will need two prerequisites:
- Get publish-access to the NPM package
- Get write-access to the GitHub repository
- Obtain a personal access token (it only needs the "repo" scope).
- Make sure the token is available as an environment variable called
GITHUB_TOKEN
Then run one script:
pnpm release
Or just release-it
This repository is distributed under the terms of both the MIT license and the Apache License (Version 2.0). See LICENSE and LICENSE-APACHE for details.