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

crowdnode-cli

v1.8.0

Published

Manage your stake in Đash with the CrowdNode Blockchain API

Downloads

2

Readme

CrowdNode CLI

CrowdNode allows you to become a partial MNO - staking Dash to earn interest, participate in voting, etc.

This cross-platform CrowdNode CLI enables you to privately manage your stake via their KYC-free Blockchain API.

Summary Video

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.

CrowdNode CLI

# Install to system, globally
npm install --location=global crowdnode-cli@v1

Note (npx users): feel free to npx -p crowdnode-cli@v1 crowdnode without installing.

CLI Usage

CrowdNode staking is managed with a permanent staking key.

The Dash you stake can NOT be retrieved without this key!

QuickStart

If you want to do everything, all at once:

crowdnode stake 10.0

Or, if you already have a key with a balance to deposit:

# Save a key from dash-cli or Dash Core's Debug Console to a file for import:
#    walletpassphrase "YOUR PASSHRASE" 300
#    dumprivkey XxYOURxADDRESSx
#
# Use as your CrowdNode CLI wallet:

crowdnode stake ./your-staking-key.wif

This will:

  • Generate a new staking key, or Import from an existing wallet
  • Load the key with Dash
  • Sign up & Accept the CrowdNode's Terms
  • Deposit

Note: I recommend printing a Paper Wallet (WIF QR) and putting it your safe.

Step-by-Step

  1. Generate or Import a permanent staking key:

    # Generate a new key in your CrowdNode CLI wallet:
    crowdnode generate

    Or

    # Save a key from dash-cli or Dash Core's Debug Console to a file for import:
    #    walletpassphrase "YOUR PASSHRASE" 300
    #    dumprivkey XxYOURxADDRESSx
    #
    # Import to the CrowdNode CLI wallet:
    crowdnode import ./your-key-file.wif.txt
  2. Load the amount of Dash you wish to stake, plus a little extra for fees:

    crowdnode load 0.503

    (you can load a balance via QR Code, Dash URL, and Payment Address)

  3. Send the Sign Up request and the CrowdNode Terms of Service:

    # Sign Up sends Đ0.00151072 to create your account
    crowdnode signup
    
    # Accept sends Đ0.00085536 to accept terms and enable deposits
    crowdnode accept
  4. Deposit a test stake (in DASH)

    # Create a test deposit:
    crowdnode deposit 0.01
    
    # Stake the remaining balance:
    crowdnode deposit
    
    # Load and stake another Đ10:
    crowdnode deposit 10.0

    Note: CrowdNode requires a minimum stake of Đ0.5 to earn interest.

You can withdraw from 1.0% to 100.0% of your stake at any time, and transfer to an address in another wallet:

# Withdraw 5.0%
crowdnode withdraw 5.0

# Transfer your balance
crowdnode transfer XxYOURxOTHERxADDRESSx

All Commmands

Quick Start:
    crowdnode stake [addr-or-import-key | --create-new]

Usage:
    crowdnode help
    crowdnode version

    crowdnode status [keyfile-or-addr]
    crowdnode signup [keyfile-or-addr]
    crowdnode accept [keyfile-or-addr]
    crowdnode deposit [keyfile-or-addr] [dash-amount] [--no-reserve]
    crowdnode withdraw [keyfile-or-addr] <percent> # 1.0-100.0 (steps by 0.1)

Helpful Extras:
    crowdnode balance [keyfile-or-addr]
    crowdnode load [keyfile-or-addr] [dash-amount]
    crowdnode transfer <from-keyfile-or-addr> <to-keyfile-or-addr> [dash-amount]

Key Management & Encryption:
    crowdnode init
    crowdnode generate [--plain-text] [./privkey.wif]
    crowdnode list
    crowdnode use <addr>            # set as default key
    crowdnode passphrase            # set or rotate passphrase
    crowdnode import <keyfile>      # copy and encrypt key
    crowdnode encrypt               # encrypt all keys
    crowdnode decrypt               # decrypt all keys
    crowdnode delete <addr>         # delete key (must have 0 balance)

CrowdNode HTTP RPC:
    crowdnode http FundsOpen <addr>
    crowdnode http VotingOpen <addr>
    crowdnode http GetFunds <addr>
    crowdnode http GetFundsFrom <addr> <seconds-since-epoch>
    crowdnode http GetBalance <addr>
    crowdnode http GetMessages <addr>
    crowdnode http IsAddressInUse <addr>
    crowdnode http SetEmail ./privkey.wif <email> <signature>
    crowdnode http Vote ./privkey.wif <gobject-hash>
        <Yes|No|Abstain|Delegate|DoNothing> <signature>
    crowdnode http SetReferral ./privkey.wif <referral-id> <signature>

Glossary

| Term | Description | | ------------- | -------------------------------------------------------------------- | | addr | your Dash address (Base58Check-encoded Pay-to-PubKey Address) | | ./privkey.wif | the file path to your staking key in WIF (Base58Check) format | | signature | generated with dashmsg or dash-cli |

JS API Documentation

See https://github.com/dashhive/crowdnode.js.

Official CrowdNode Docs

https://knowledge.crowdnode.io/en/articles/5963880-blockchain-api-guide