0.0.6 • Published 5 months ago
build-on-base v0.0.6
Build On Base CLI
Simple, minimalistic and opinionated boilerplates to start developing Onchain Apps on Base.
Available boilerplates:
Getting Started
$ npx build-on-base create
# Once the installation is complete
$ cd <your app name>
$ git init
$ git add .
$ git commit -m "first commit"
$ yarn
$ yarn chain
$ yarn deploy
$ yarn dev
Develop
In order to develop and test the CLI you need the following:
Then you can run the following commands:
$ yarn # to install dependencies
$ yarn build
$ yarn start create # to test the cli we pass create to the start command
Architecture
The project consist of a simple CLI that includes references to multiple templates hosted in their own repository. These templates or boilerplates have the same commands and are fully independent.
Adding new boilerplates
To extend the template options, include the name and Github url in the templates/index.ts
file.
Roadmap
Include a new boilerplate for Foundry + NextJS + Subgraph
Include a new boilerplate for Foundry + Vite React TS + Subgraph