Giter VIP home page Giter VIP logo

nicebit's Introduction

A Simple Bitcoin Vanity Address Generator

Create Bitcoin vanity addresses with C. An open source method to generate nice Bitcoin addresses, also serving as an example of how to use the bitcoin-core/secp256k1 C library.

Tutorial

For a tutorial on how this code works, see http://nicholasfarrow.com/Cryptography-in-Bitcoin-with-C/.

Dependencies

  • libsep256k1 (easy install)
  • openssl (you likely have this)

Compilation

gcc niceBit.c -o niceBit -lcrypto -lsecp256k1

Usage

./niceBit

Specify minimum number of consecutive digits:

./niceBit -n 5

Search for words from a file:

./niceBit -f FILE

Search for alphanumeric substitutions of words from a file:

./niceBit -aC -f FILE

The file should contain one word per line.

Loading Private Keys

Private keys are printed in base58 Wallet Import Format, which can be easily loaded into common desktop wallet software.

Proof that this all works can be found via these ingoing and outgoing transactions which involves transactions with a vanity address (legacy on BCH: 1Hh555555Y...) on the Bitcoin Cash blockchain.

TODO

  • Include secp256k1 in lib

nicebit's People

Contributors

hhio618 avatar nickfarrow avatar

Watchers

 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.