Skip to content

web3/create-web3js-dapp

Repository files navigation

create-web3js-dapp

Scaffolding utility to create front-end projects (dApps) with Web3.js

Usage

This utility is designed to be used via npx. If the framework or template options are omitted, an interactive menu will be displayed to allow for their selection.

Usage: npx create-web3js-dapp [options]

Options:
  -f, --framework <name>  front-end framework (choices: "angular", "react", "vue")
  -t, --template <type>   template type (choices: "demonstration", "minimal")
  -h, --help              display help for command

Template Types

Two types of templates are provided. Minimal templates are designed for users that want to build their own front-end project (dApp) without the need to remove unnecessary boilerplate code. Demonstration templates are designed to showcase how Web3.js can be used to build dApps.

Front-End Frameworks

This utility supports the following front-end frameworks:

  • Angular (only available as a minimal template)
  • React
  • Vue (only available as a minimal template)