@arcblock/ocap-cli
Public command line tools to use together with OCAP
Last updated a month ago by wangshijun .
Apache-2.0 · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @arcblock/ocap-cli 
SYNC missed versions from official npm registry.

ocap-cli

Command line tools to ease development for ArcBlock Developers

Installation

npm install -g @arcblock/ocap-cli

Usage

Available Commands

❯ ocap
Usage: ocap [options] [command]

Options:
  -V, --version                             output the version number
  -h, --help                                output usage information

Commands:
  dapp:create                               Bootstrap a new DAPP that have OCAP service SDK integrated
  dapp:start                                Start an DApp bootstrapped with `ocap dapp:create`
  dapp:build                                Build an DApp bootstrapped with `ocap dapp:create`
  eth:debugWallet                           Print wallet info detail such as type, address, privateKey, publicKey
  eth:genWallet                             Generate an ethereum wallet (public/private key pair, keystore, HD Wallet)
  eth:signPersonal [message]                Sign message with an ethereum wallet key to get a MetaMask compatible signature
  eth:verifyPersonal [message] [signature]  Verify a signature produced from eth:signPersonal
  hd:exportXKeys                            Export extended keys from hd wallet mnemonic

Bootstrap an DAPP

Used when bootstrap an DApp with our starter projects: ocap-react-starter, ocap-vue-starter

ocap dapp:create

Then you can start the DApp with:

ocap dapp:start

Sign personal message

Used when verify wallet address in OCAP Developer Console

ocap eth:signPersonal 'hello ocap'

Debug wallet info

ocap eth:debugWallet

Current Tags

  • 0.28.0                                ...           latest (a month ago)

23 Versions

  • 0.28.0                                ...           a month ago
  • 0.27.0                                ...           a month ago
  • 0.26.0                                ...           2 months ago
  • 0.25.0                                ...           4 months ago
  • 0.24.0                                ...           9 months ago
  • 0.23.0                                ...           10 months ago
  • 0.22.0                                ...           10 months ago
  • 0.21.0                                ...           a year ago
  • 0.20.0                                ...           a year ago
  • 0.19.7                                ...           a year ago
  • 0.19.0                                ...           a year ago
  • 0.18.1                                ...           a year ago
  • 0.17.0                                ...           a year ago
  • 0.16.0                                ...           a year ago
  • 0.15.3                                ...           a year ago
  • 0.15.2                                ...           a year ago
  • 0.15.0                                ...           a year ago
  • 0.14.0                                ...           a year ago
  • 0.13.0                                ...           a year ago
  • 0.12.0                                ...           2 years ago
  • 0.11.0                                ...           2 years ago
  • 0.10.0                                ...           2 years ago
  • 0.9.1                                ...           2 years ago
Maintainers (2)
Downloads
Today 0
This Week 0
This Month 26
Last Day 0
Last Week 24
Last Month 34
Dependencies (9)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |