Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/orbs-network/orbs-project-generator

Generates basic project scaffold
https://github.com/orbs-network/orbs-project-generator

Last synced: 3 months ago
JSON representation

Generates basic project scaffold

Awesome Lists containing this project

README

        

# 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
```

```
orbs-project-generator create Hello .
```

## Testing the project

```
npm test
```