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

ark-wallet-mass-generator

v2.0.1

Published

> Generate a lot a ARK wallets ๐Ÿ‘›

Downloads

11

Readme

ark-wallet-mass-generator

Generate a lot a ARK wallets ๐Ÿ‘›

Demo gif

Generate a lot of ARK wallets quickly. This can be useful to find a fun wallet address.

Uses Node.js Worker Threads for optimal performance (will use a Polyfill if Node.js version is less than 12).

Install

$ yarn global add ark-wallet-mass-generator
# or npm i -g ark-wallet-mass-generator

Usage

$ ark-wallet-mass-generator --help

  Usage
    $ ark-wallet-mass-generator
  
  Options
    --file -f         Output file [Default: "_arkWallets.txt"]
    --amount -a       Amount of wallets to generate [Default: 100]
    --network -n      Blockchain network [Default: "devnet"]
    --no-logs         Hide all logging output
    --show-wallets    Print wallets to the terminal instead of the progress bar [Default: false]

  Examples
    $ ark-wallet-mass-generator
    $ ark-wallet-mass-generator --network="mainnet"
    $ ark-wallet-mass-generator --file="_arkWallets.txt" --amount 500000
    $ ark-wallet-mass-generator --amount 500 --no-logs --network="testnet"
    $ ark-wallet-mass-generator --show-wallets

  https://github.com/rigwild/ark-wallet-mass-generator

Output

Generated wallets will be appended to your output file with the following format:

AazdtKbM6dwBPmRpdYySE4GGUyGhCpKmCM;topic crush heart chase return breeze boil laugh silly antenna hen width
AH3tAPYZyYeLFb6nEcGyY8xKY2WmfQqv2W;forest pepper sauce flat flame object basic odor wall dutch mail mosquito
AM3DCuCdZtLEsC9KFDqU7Dhme7Tce7D6mF;clerk rookie direct saddle mesh eye confirm have silly doll enact profit
ASfKW3gsjF3FMyXgyp3WK77f2k6rdCsNKZ;fence banner dirt uniform dawn fan ribbon ill person banana ridge stone

Programmatic usage

Install

$ yarn add ark-wallet-mass-generator
# or npm i ark-wallet-mass-generator

generateWallets

Generate some wallets in memory and returns them. If you generate a lot (I mean, a very huge amount), you may run out of memory and should use generateWalletsFs instead.

import { generateWallets } from 'ark-wallet-mass-generator'

const wallets = await generateWallets({
  amount: 500,      // Amount of wallets
  network: 'devnet' // Target ARK network
})

console.log(wallets)
// => { address: string; passphrase: string }[]

generateWalletsFs

Generate some wallets and append them to a file as they gets generated.
Wallets are not stored in memory after generation, there's no limit to the amount of wallets you can generate with this.

import { generateWalletsFs } from 'ark-wallet-mass-generator'

await generateWalletsFs({
  file: '_arkWallets.txt', // Output file
  amount: 500,             // Amount of wallets
  network: 'devnet',       // Target ARK network
  logs: false              // Hide console logging
})
// => Wallets were appended to `_arkWallets.txt` 

Benchmark

Intel Core i7-6700HQ CPU @ 2.60GHz (8 cores)

Generated 20000 wallets to "_arkWallets.txt" in 208s.
=> 96.15 wallets/s

Related

  • ipfs-ark-stamp - ๐Ÿ“ Add files to IPFS and stamp its IPFS CID hash permanently on the ARK Blockchain

License

The MIT license