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

blockchain-starter

v2.0.0

Published

Quickly create a private blockchain with addresses.

Readme

Blockchain Starter

The blockchain-starter allows you to quickly create a private blockchain with 10 addresses and run a local network.

How To

There are two steps to getting everything up and running:

1. Set Up The Blockchain

blockchain-starter sets up a private blockchain by creating a genesis block and generating 10 addresses.

The genesis script is responsible for creating the genesis block and generating addresses (10 of them) that can be used within the blockchain. To execute the genesis script, run:

yarn genesis

After running the yarn genesis command above, a builds/ directory would be created within the blockchain-starter's root directory with the following artefacts generated:

  • accounts/ containing accounts with the following details:
    • address: made up of 40 hexadecimal characters prefixed by 0x
    • password: the password is password
  • db/ containing chain data, key store, etc
  • the genesis.json file specifying the genesis block

2. Start The Network - Mining Enabled

There are 4 options available for starting the network with mining enabled for use with DApps like eth-vue, for example:

Option 1: Start The Network Without Unlocking Any Account

To start the network which has been initialised in step 1 of How To, without unlocking any account, just run the start-network script. You could do this using yarn too:

yarn start

Option 2: Start The Network With Accounts Unlocked

To start the network with two accounts unlocked, 0x2Abe38bB3Cb626bE1e69Cc3776c4c3EA2B1DCa73 and 0x2Abe38bB3Cb626bE1e69Cc3776c4c3EA2B1DCa73 for example, run the following with the accounts in a comma-separated string:

yarn unlock-accounts-start 0x2Abe38bB3Cb626bE1e69Cc3776c4c3EA2B1DCa73,0x2Abe38bB3Cb626bE1e69Cc3776c4c3EA2B1DCa73

Option 3: Start The Network With All Accounts Unlocked

To start the network with all accounts generated in this step unlocked, run the following:

yarn unlock-all-start

Option 4: Start The Network With Your Coinbase Unlocked

To start the network with just your coinbase unlocked, run the following:

yarn unlock-coinbase-start

NOTE: the accounts generated in step 1 of How To can be imported into MetaMask if you choose to.

Unlocking Accounts Without Mining

In addition to unlocking accounts and mining, blockchain-starter provides ways to unlock any number of available accounts without mining. The subsections below show how to unlock accounts for the two cases (selected accounts and all accounts):

1. Unlocking Selected Accounts

To unlock accounts like 0x2Abe38bB3Cb626bE1e69Cc3776c4c3EA2B1DCa73 and 0x2Abe38bB3Cb626bE1e69Cc3776c4c3EA2B1DCa73, for example, simply run the following command with the accounts as a comma-separated string:

yarn unlock-accounts 0x2Abe38bB3Cb626bE1e69Cc3776c4c3EA2B1DCa73,0x2Abe38bB3Cb626bE1e69Cc3776c4c3EA2B1DCa73

2. Unlocking All Accounts

To unlock all the accounts generated in this step, run the following:

yarn unlock-all-accounts

Note

All accounts passed to yarn for unlocking must have been generated in step 1 of How To for things to go smoothly.

Please send bug issues you may encounter to Issues

Copyleft

Copyleft 2020 Daniel Okwufulueze

Licence

This Blockchain Starter is distributed under the GNU GPL-3.0 licence.