npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

dashsight-cli

v1.3.0

Published

CLI for Dash's flavor of the Insight API

Downloads

6

Readme

DashSight CLI

Mac, Linux, & Windows CLI for insight.dash.org, Dash's flavor of the Insight API

This cross-platform DashSight CLI makes it easy to check balances and utxos, and see and send transactions.

dashsight tx f92e66edc9c8da41de71073ef08d62c56f8752a3f4e29ced6c515e0b1c074a38
Transaction Details...

[f92e66edc9c8da41de71073ef08d62c56f8752a3f4e29ced6c515e0b1c074a38]
Inputs:
  Đ   0.00100001 <= Xhn6eTCwW94vhVifhshyTeihvTa7LcatiM
Outputs:
  Đ   0.00099809 => XmCyQ6qARLWXap74QubFMunngoiiA1QgCL
  Đ   0.00000192 => (Network Fee)

Install

Node.js

You must have node.js v16 installed:

Mac & Linux

curl https://webinstall.dev/node@16 | bash

Follow the on-screen instructions.
You may need to close and re-open your terminal.

Windows

curl.exe -A MS https://webinstall.dev/node@lts | powershell

Follow the on-screen instructions.
You may need to close and re-open your terminal.

Install

npm install --location=global dashsight-cli@v1

Usage

dashsight balance     <addr1> [addr2 ...] [--json]
dashsight instantsend <raw-tx-hex>        [--json]
dashsight tx          <txid1> [txid2 ...] [--json]
dashsight txs         <addr1> [addr2 ...] [--json] [--max-pages 10]
dashsight utxos       <addr1> [addr2 ...] [--json]

balance

Check the instant balance - based on Dash instant-send lock rather than block confirmation.

dashsight balance XmCyQ6qARLWXap74QubFMunngoiiA1QgCL
Instant balance is...
    0.00099809

instantsend

Broadcast a raw transaction to the network through a Dash Insight API relay.

dashsight instantsend \
  030000000187ab81e88e2c19ca354f33f14d5b43b60d171ac851eb97dddd271b510cadbdb0000000006b483045022100ec38c77b9f285d4c9aeeba36c1fac51bb88f7443185caf7eec21b170cc5d40620220098dcb5d90cb5f4ddc75ef54e2b2d1dbf220eb6fc28eed61c43192c0a420802c012103a6da86f51829979a3c9f05251d9400d153111655526c6c25f8f82aba38b8a745ffffffff0118850100000000001976a9149a00c2072c0209688cc6de5cc557af03e4f41b6388ac00000000
Instant balance is...
    0.00099809

tx

dashsight tx f92e66edc9c8da41de71073ef08d62c56f8752a3f4e29ced6c515e0b1c074a38
Transaction Details...

[f92e66edc9c8da41de71073ef08d62c56f8752a3f4e29ced6c515e0b1c074a38]
Inputs:
  Đ   0.00100001 <= Xhn6eTCwW94vhVifhshyTeihvTa7LcatiM
Outputs:
  Đ   0.00099809 => XmCyQ6qARLWXap74QubFMunngoiiA1QgCL
  Đ   0.00000192 => (Network Fee)

txs

dashsight txs XmCyQ6qARLWXap74QubFMunngoiiA1QgCL
Transactions:

[f92e66edc9c8da41de71073ef08d62c56f8752a3f4e29ced6c515e0b1c074a38]
Inputs:
  Đ   0.00100001 <= Xhn6eTCwW94vhVifhshyTeihvTa7LcatiM
Outputs:
  Đ   0.00099809 => XmCyQ6qARLWXap74QubFMunngoiiA1QgCL
  Đ   0.00000192 => (Network Fee)

utxos

dashsight utxos XmCyQ6qARLWXap74QubFMunngoiiA1QgCL
Unspent Transaction Outputs:
    XmCyQ6qARLWXap74QubFMunngoiiA1QgCL     00099809 (0)