henesis-cli
henesis-cli
Last updated 3 months ago by nipol .
LGPL3 · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install henesis-cli 
SYNC missed versions from official npm registry.

henesis-cli

===========

oclif

Version

Downloads/week

License

Getting Started

Install

To use henesis-cli, Node v10 or higher must be installed.

$ npm install -g @haechi-labs/henesis-cli

$ henesis help

VERSION
  henesis-cli/0.1.0 darwin-x64 node-v10.15.3

USAGE
  $ henesis [COMMAND]

COMMANDS
  help         display help for cli
  init         describe the command here
  integration  manage integrations
  login        Perform a login
  logout       Perform a logout

Usage

  1. login
$ henesis login
Allow Henesis to collect anonymous CLI usage and error reporting information
yes(y) or no(n): y
email: yoonsung@haechi.io
password: ***********

???? Login Success from yoonsung@haechi.io ????
  1. init

The directory in which the init command is run must be empty.

$ henesis init -n sample-project
sample-project directory has been created.

After this, the following folder structure is created.

sample-project/
├─ contract/
│  └─ example.sol
├─ handler/
│  ├─ execution.ts
│  └─ execution2.ts
└─ henesis.yaml
  1. integration

You can use command where the henesis.yaml file exists.

$ henesis integration
manage integrations

USAGE
  $ cli integration:COMMAND

COMMANDS
  integration:delete    delete a integration
  integration:deploy    deploy a integration
  integration:describe  describe a integration
  integration:status    get integrations

There are tasks to be done before the deploy command.

  • Place the contract file distributed in Blockchain inside the contract directory.
  • Modify the henesis.yaml file to match the event you want to subscribe to and place the file with logic in the handler directory.
  • You can run the deploy command and check the status of the distribution through the status command.
  1. logout
$ henesis logout
???? Logout Success ????

Current Tags

  • 0.4.0                                ...           latest (3 months ago)

15 Versions

  • 0.4.0                                ...           3 months ago
  • 0.3.2                                ...           3 months ago
  • 0.3.1                                ...           3 months ago
  • 0.3.0                                ...           3 months ago
  • 0.2.7                                ...           3 months ago
  • 0.2.6                                ...           3 months ago
  • 0.2.5                                ...           3 months ago
  • 0.2.4                                ...           3 months ago
  • 0.2.3                                ...           3 months ago
  • 0.2.2                                ...           3 months ago
  • 0.2.1                                ...           3 months ago
  • 0.2.0                                ...           3 months ago
  • 0.1.2                                ...           3 months ago
  • 0.1.1                                ...           3 months ago
  • 0.1.0                                ...           3 months ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 15
Last Day 0
Last Week 0
Last Month 1
Dependencies (25)
Dev Dependencies (23)
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |