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 🙏

© 2026 – Pkg Stats / Ryan Hefner

rfccli

v2.1.1

Published

CLI for RFC

Readme

Command Line Interface

Change History

  • 1.0.5 Modify package.scripts.preinstall
  • 1.0.6 Add getBalance, getBlock
  • 1.0.7 Add createToken, getMiners ...
  • 1.0.8 Add vote, mortgage, unmortgage ...
  • 1.0.9 upload , modfity README
  • 2.1.0 Update newest Wallet function

dependency

  • ES2017
  • tsc, typescript compiler
  • winston v2.4.2 , 去掉兼容性,想办法,新版本是v3.1.0

install

// under directory, run
npm install 

How to use?



// start cli
// create your keystore file with your secret
./rfccli --createKeyStore user.json

// login with your keystore file, with sever host and port
./rfccli --keyStore xxx.json --host xx.xx.xx.xx  --port 18089

// To unlock the secret, enter the code you created with the keystore file
// Otherwise you will not be able to do transfer ... functions, only viewing 
unlock

// get balance for default account
getBalance
// transfer 200 sys token to 16ZJ7mRgkWf4bMmQFoyLkqW8eUCA5JqTHg with fee 1 sys token
transferTo          16ZJ7mRgkWf4bMmQFoyLkqW8eUCA5JqTHg  1000   0.1
transferTo  12nD5LgUnLZDbyncFnoFB43YxhSFsERcgQ 20 1
transferTo  13dhmGDEuaoV7QvwbTm4gC6fx7CCRM7VkY  1000 1
transferTo  1NsES7YKm8ZbRE4K5LaPGKeSELVtAwzoTw  2000 1

//issue token with token name 'token2'
createToken token2 [{"address":"1EYLLvMtXGeiBJ7AZ6KJRP2BdAQ2Bof79","amount":"10000"}] 100 1

//get token2 balance for account
getTokenBalance token2 1EYLLvMtXGeiBJ7AZ6KJRP2BdAQ2Bof79
transferTokenTo token2 1LuwjNj8wkqo237N7Gh8nZSSvUa6TZ5ds4 10 1
getTokenBalance token2  1LuwjNj8wkqo237N7Gh8nZSSvUa6TZ5ds4
getBalance 1EYLLvMtXGeiBJ7AZ6KJRP2BdAQ2Bof79
getBalance 12nD5LgUnLZDbyncFnoFB43YxhSFsERcgQ
transferTo 

Test

known bugs

  1. [DEP0025] DeprecationWarning: sys is deprecated. Use util instead.

/node_modules/sqlite3-transactions/sqlite3-transactions.js:1:73 需要将sys改成util