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

nano-vanity-address-finder

v1.0.2

Published

Finds NANO seeds that generate the desired addresses

Downloads

7

Readme

nano-vanity-address-finder

Finds NANO seeds that generate the desired addresses. Utilizes parallelism to find the seed as quickly as possible.

Usage as Library

In project directory:

npm i nano-vanity-address-finder

Then in code:

const SeedFinder = require('nano-vanity-address-finder')

SeedFinder.findSeedAndAddressWith({ vanityString, vanityStringPosition, cpuCount }).then(({ vanitySeed, vanityAddress }) => {
    console.log(vanitySeed)
    console.log(vanityAddress)
})

Command Line Usage

Install globally from npm with:

npm i -g nano-vanity-address-finder

or install globally from GitHub with:

npm i -g pRizz/nano-vanity-address-finder

Usage:

> nano-vanity-address-finder --help

  Usage: nano-vanity-address-finder [options] <vanityString>

  Finds NANO seeds that generate the desired addresses

  Options:

    -V, --version         output the version number
    -p, --prefix          search for the vanity string as a prefix of the address. This is the default search position.
    -s, --suffix          search for the vanity string as a suffix of the address.
    -c, --contains        search for the vanity string anywhere in the address.
    -a, --aggressive-CPU  use all available cores. By default, uses one less than all cores to reduce CPU starvation.
    -b, --half-CPU        only use half of available cores.
    -h, --help            output usage information

To find an address with a vanity prefix:

nano-vanity-address-finder --prefix myvanity

To find an address with a vanity suffix:

nano-vanity-address-finder --suffix myvanity

To find an address containing a vanity string:

nano-vanity-address-finder --contains myvanity

Example Cost

My NANO address with suffix prizz,

xrb_3fwbzdazf6wmmy17agkzp47f75d5hdm5m91bxexp9auowm8m9a7tsk8prizz

took only an hour to find using an AWS c5.18xlarge instance, which costed about $3.

Longer vanity strings will, of course, take longer and cost more to find.

Security

All seeds are generated with the proper cryptographic functions. Nothing is sent to any backend, but to ensure this, turn off your internet while searching for a seed and uninstall the tool afterwards.

If you want to output to a file instead of standard out, then just redirect the output like so:

nano-vanity-address-finder --contains myvanity > vanityOutput.txt

MIT Licensed

Tips

All tips are greatly appreciated and help me, Peter Ryszkiewicz, aka pRizz, support the development of more apps.

IOTA: PRIZ9SWUXJLZKRPUYESORIZXVANRQUUGURDE9HXWOLNLGJOQHQSVEQYUM9GJTTAVKKTSUDWKCCBLCMAFAQARGOXPXW

NANO: xrb_3fwbzdazf6wmmy17agkzp47f75d5hdm5m91bxexp9auowm8m9a7tsk8prizz