Skip to content

adam505hq/generator-scaffold-harmony

 
 

Repository files navigation

generator-scaffold-harmony

NPM version

Yeoman generator of Harmony DApp Scaffold.

Please note that this generator only works under POSIX compatible environments.

Prepare Your Dev Environment

Installation

First, install Yeoman and generator-scaffold-harmony using npm (we assume you have pre-installed node.js).

npm install -g yo
npm install -g generator-scaffold-harmony

Then generate your new project:

mkdir my-harmony-dapp && cd my-harmony-dapp
yo scaffold-harmony

Demo Videos

Intro

https://youtu.be/RThMOFCN-0M

Auto-reload

https://youtu.be/2iEv3VrNLjA

Checklist

  • UI/UX React boilerplate code for DApp
    • Simple UI with Home Page
    • Connection to as many popular wallets as possible
      • OneWallet
      • Mathwallet
    • Simple interaction with demo contract
    • Tests for UI/UX application
  • Smart contract:
    • Something simple but more than Hello World so that it can interact with UX/UI
    • Tests
  • Development environment (CLI):
    • CLI command to create sandbox env for both contract (Ganache) and UX/UI (React) so that it can run on localhost.
    • CLI command to deploy contract to testnet/mainnet.
    • CLI command to run tests for both contract and UX/UI.
  • README:
    • Installation guide (any dependencies etc.)
    • Basic usage on how to run and interact with template.
    • Document CLI.
    • Provide extra resources and "kickstart" documentation links for developers.
    • Document how to deploy React application (simplified). https://create-react-app.dev/docs/deployment/
  • Nice-to-have
    • Would be nice to use tool like cookiecutter to make template customizable with Author, App Name, Software Versions, Tags, Logos and other things that might be non-static.
    • Include CI workflow (probably easiest to use git workflow) to run test on push.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 85.9%
  • Solidity 4.7%
  • HTML 4.0%
  • CSS 3.4%
  • Smarty 1.3%
  • Shell 0.7%