@orbs-network/orbs-project-generator

0.3.0 • Public • Published

Orbs project generator

Generates basic project. Result consists of several parts:

  • contract in src/contract/app/contract.go
  • JS interface in src/app.js
  • Deployment script in src/deploy_app.js
  • End to end test in test/app_test.js
  • package.json with all required dependencies
  • .gitignore

Installation

npm install -g @orbs-network/orbs-project-generator

Run

Plase note that app name should be camel case: AppName.

You can safely run the generator multiple times in the same directory to generate scaffolding for different contracts.

orbs-project-generator create <AppName> <path>
orbs-project-generator create Hello .

Testing the project

npm test

/@orbs-network/orbs-project-generator/

    Package Sidebar

    Install

    npm i @orbs-network/orbs-project-generator

    Weekly Downloads

    3

    Version

    0.3.0

    License

    MIT

    Unpacked Size

    8.93 kB

    Total Files

    11

    Last publish

    Collaborators

    • durhailay
    • denis-orbs
    • idana
    • doronaviguy
    • uvorbs
    • amihaz
    • talkol
    • netoneko
    • itamar.arjuan
    • ronno
    • aviramsternorbs
    • zlotindaniel
    • rotemy