Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@haechi-labs/haechi-cli

Package Overview
Dependencies
Maintainers
3
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@haechi-labs/haechi-cli

Command Line Interface for the upgradeable smart contract framework

  • 0.1.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
4
increased by33.33%
Maintainers
3
Weekly downloads
 
Created
Source

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

Keywords

FAQs

Package last updated on 31 Oct 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc