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

status-dev-cli

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

status-dev-cli

CLI for Status

  • 1.1.2
  • npm
  • Socket score

Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

Status CLI

Additional tools for DApps developers. These tools allows to speed up the process of developing DApps for Status.

status-dev-cli is included in Status bundle, and all these commands can be executed directly from status-react directory. However, status-dev-cli is a standalone tool and you can install it without Status.

Requirements

  1. Geth (https://github.com/ethereum/go-ethereum/wiki/Building-Ethereum);
  2. Node.js;
  3. NPM;
  4. Watchman (https://facebook.github.io/watchman/docs/install.html).

Installing standalone

git clone https://github.com/status-im/status-dev-cli.git
cd status-dev-cli
npm i -g

Features

Adding DApp

./status-dev-cli add-dapp <attach_to> <public_key> <dapp>

  • attach_to — Geth endpoint;
  • public_key — Public key of your user (you can find it in your profile);
  • dapp — JSON containing DApp information. Required fields are name, dapp-url and whisper-identity.

Example:

./status-dev-cli add-dapp \
     http://localhost:8545 \
     "0x04..." \
     '{"name": "Test dapp", "whisper-identity": "dapp-test", "dapp-url": "http://localhost:1234"}'

Removing DApp

./status-dev-cli remove-dapp <attach_to> <public_key> <dapp_identity>

  • attach_to — Geth endpoint;
  • public_key — Public key of your user (you can find it in your profile);
  • dapp_identitywhisper-identity of your DApp.

Example:

./status-dev-cli remove-dapp http://localhost:8545 "0x04..." "dapp-test"

Watching for DApp changes and refreshing DApp automatically

./status-dev-cli watch-dapp <attach_to> <public_key> <dapp_identity> <dapp_dir>

  • attach_to — Geth endpoint;
  • public_key — Public key of your user (you can find it in your profile);
  • dapp_identitywhisper-identity of your DApp;
  • dapp_dir — dir that should be observed.

Example:

./status-dev-cli watch-dapp http://localhost:8545 "0x04..." "dapp-test" ~/Documents/DApps/dapp-test/

FAQs

Package last updated on 08 Feb 2017

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