Giter Club home page Giter Club logo

nakatoshi's Introduction

nakatoshi

A Bitcoin Vanity Address generator.

nakatoshi accepts as input a prefix string (Or a file with multiple prefixes) to search for and produce a Bitcoin address and private / public keys. The amount of time required to find a given pattern depends on how long the string is, the speed of your computer, and whether you get lucky.

Install

MacOS

$ brew tap ndelvalle/utilities
$ brew install nakatoshi

Cargo

$ cargo install nakatoshi

Manually

Download the latest released binary and add executable permissions:

# Linux example:
$ wget -O nakatoshi "https://github.com/ndelvalle/nakatoshi/releases/download/v0.2.4/nakatoshi-linux-amd64"
$ chmod +x nakatoshi

CLI

USAGE:
    nakatoshi [FLAGS] [OPTIONS] <prefix> --input-file <input-file>

FLAGS:
    -b, --bech32            Use Bech32 addresses. Starting with bc1q (Lowercase address)
    -c, --case-sensitive    Use case sensitive comparison to match addresses
    -h, --help              Prints help information
    -u, --uncompressed      Use uncompressed private an public keys
    -V, --version           Prints version information

OPTIONS:
    -i, --input-file <input-file>    File with prefixes to match addresses with
    -t, --threads <threads>          Number of threads to be used [default: The number of CPUs available on the current
                                     system]

ARGS:
    <prefix>    Prefix used to match addresses

Examples:

Generate a vanity address

nakatoshi 1Kids

Generate a vanity address and parse JSON response

nakatoshi 1Bitc | jq

Use a file with multiple prefixes

A file with one address prefix on each newline can be used to search for a vanity address. This reduces the time to find a result.

Example:

nakatoshi --input-file input.txt

The contents of the input.txt file looks like this:

1Kids
1Love

Bech32 addresses

nakatoshi -b bc1qki

Note: There is no need to search with the case-sensitive flag because bc1q addresses are always lowercase.

Development

# Build
$ cargo build

# Help
$ cargo run -- -help

Note: Cargo run creates an unoptimized executable with debug info. When testing the speed/throughput of the application, make sure to use cargo run --release.

nakatoshi's People

Contributors

dependabot-preview[bot] avatar dependabot[bot] avatar gillchristian avatar globidev avatar indyjonesnl avatar ndelvalle avatar whizsid avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.