@haechi-labs/haechi-cli
Command Line Interface for the upgradeable smart contract framework
Last updated a year ago by jchoy .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @haechi-labs/haechi-cli 
SYNC missed versions from official npm registry.

HAECHI-CLI (haechi-cli)

CircleCI Coverage Status standard-readme compliant Conventional Commits

Command Line Interface for the upgradeable smart contract framework.

HAECHI-CLI is a new Command Line Interface tool created to help developers easily develop better DApps by providing an upgradeable smart contract framework as well as new development tools.

Upgradeable Smart Contract helps to easily fix bugs and update business logics for the Dapp service. It also provides a high-quality user experience while maintaining the same entry point for users and updating smart contracts atomically.

It helps to develop, upgrade, test, compile and control the user’s current version of the Dapp service.

If you want more information about the Upgradeable Smart Contract Framework, you can take a look at the HAECHI-LABS pdf file.

Contributors: Please see the Contributing section of this README.

Table of Contents

Install

Install Node.js first. Then, install npm and

$ npm install --global haechi-cli

or install yarn and

$ yarn global add haechi-cli

Usage

For a default set of files, run the following within an empty project directory:

$ mkdir my-project
$ cd my-project
$ haechi init

You don't have to do $ npm init or $ truffle init. We supports environment for truffle.

See details for $ haechi init.

Then, install node modules according to package.json.

$ npm install

or

$ yarn install

We recommend to use ganache for test.

Next, you have to write:

  • .env : General settings for your project
  • service.haechi.json : Settings for your Dapp service

Please see CONFIGURATION.md to configure your project.

Run $ haechi --help for more details about functions of haechi-cli.

Commands

Please see linked documentation below:

  • init: Initialize project directory
  • compile: Compile solidity contract files
  • deploy-contract: Deploy contract
  • deploy-service: Deploy service according to Upgradeable Smart Contract Framework
  • abi-to-script: Generate javascript APIs interacting with smart contract on blockchain
  • flatten: Flatten several contract files in one file

Contributing

Thank you for considering to join this project! We always welcome contributors :)

Notes on project main branches:

  • master: Stable, released version
  • dev: Work targeting stable release

To contribute, please see CONTRIBUTING.md.

Contact

License

MIT

Current Tags

  • 0.1.0                                ...           latest (a year ago)

1 Versions

  • 0.1.0                                ...           a year ago
Downloads
Today 0
This Week 2
This Month 4
Last Day 0
Last Week 0
Last Month 2
Dependencies (28)
Dev Dependencies (17)
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |