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

taraxa-cli

v1.5.55

Published

Taraxa command-line utility

Downloads

13

Readme

Taraxa CLI

Install

Install from NPM

npm install -g taraxa-cli

Usage

taraxa --help
taraxa config --help
taraxa rpc --help

Generate a Config File

Public Testnet

To join the public Testnet: Generate a config for a new testnet node

$ taraxa config -n testnet
Created node config for:
    network: testnet
    chain id: 55555
    address: 0x942FBF4f9D0CbE737e4f83C597D991ffA38fe42c
    id: 04a58a7add71a5c973e36fa754f5ddd00f3b15404677f3d20ac4fa02f808857c0d497e20ea95ffd5e3a516fac90693f4f3016291d353f7cf863457bcb834769c75

Wrote config to: /home/user1/.taraxa-node/conf/testnet.json

Note: This file contains private keys. Secure it properly.

Private Testnet

Alternatively, generate a config for a new private network boot node

$ taraxa config
Created node config for:
    network: private
    chain id: 4444
    address: 0x942FBF4f9D0CbE737e4f83C597D991ffA38fe42c
    id: 04a58a7add71a5c973e36fa754f5ddd00f3b15404677f3d20ac4fa02f808857c0d497e20ea95ffd5e3a516fac90693f4f3016291d353f7cf863457bcb834769c75

Wrote config to: /home/user1/.taraxa-node/conf/private.json

Note: This file contains private keys. Secure it properly.

Generate a config to join an existing private network by specifying one or more boot nodes by repeating the -b option

taraxa config -n private -c 4444 -b 127.0.0.1:10002/04a58a7add71a5c973e36fa754f5ddd00f3b15404677f3d20ac4fa02f808857c0d497e20ea95ffd5e3a516fac90693f4f3016291d353f7cf863457bcb834769c75

Run an RPC Command

Using taraxa-js to make RPC calls

$ taraxa rpc getBlockByNumber 0

Create an account

Create an account with private key, address, mnemonic.

Useful for setting up faucets, etc.

$ taraxa account
address: 0xad8e3b38552d2afaf3c92bcc5ed703ac8eca23fc
public key: 0x047cf9de972914851dd24493e75c1251e3807fbfc72298030824cf027ea9e73e285e7342ac10f705ebd500fcfe45db0260e64b737c532970e4b689f9ed1d34aeff
private key: 0x2be664bae0e365a0fd362798870f79c52d565ed7a512f5c57575b12e65d7ab02
mnemonic: cloud myth drink saddle avoid blind provide twist answer online erupt note