0.29.1 • Published 3 years ago
@arcblock/ocap-cli v0.29.1
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
0.29.1
3 years ago
0.29.0
3 years ago
0.28.0
4 years ago
0.27.0
4 years ago
0.26.0
4 years ago
0.25.0
4 years ago
0.24.0
5 years ago
0.23.0
5 years ago
0.22.0
5 years ago
0.21.0
5 years ago
0.20.0
5 years ago
0.19.7
5 years ago
0.19.0
5 years ago
0.18.1
5 years ago
0.17.0
5 years ago
0.16.0
5 years ago
0.15.3
5 years ago
0.15.2
5 years ago
0.15.0
5 years ago
0.14.0
5 years ago
0.13.0
5 years ago
0.12.0
5 years ago
0.11.0
6 years ago
0.10.0
6 years ago
0.9.1
6 years ago