GithubHelp home page GithubHelp logo

tsavo / bitkeygrinder Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 3.0 122 KB

A Map/Reduce function for generating the Bitcoin public address hash out of phrases from some text store, suitable for running on Amazon's Elastic Map Reduce.

Java 100.00%

bitkeygrinder's Introduction

BitKeyGrinder

A Map/Reduce function written in Java 1.6 for generating the Bitcoin public address hash out of phrases (aka Brain Wallets) from some text store, suitable for running on Amazon's Elastic Map Reduce.

To use:

Start by getting BitcoinJ: https://code.google.com/p/bitcoinj/ It's necessary in the final step where we compare the computed hashes to the BlockChain. Generate a jar file containing all the dependencies, specifying 'org.tsavo.bitkey.BitKeyGrinder' as the main to execute. I used Eclipse for this, and selected 'unpack and include dependencies'. YMMV with other methods. Copy the resulting .jar file to an Amazon S3 bucket. Upload the data that you want to use as seeds for your brain wallets to an S3 bucket as a carrige-return seperated file (like a dictionary/word file). Start an Elastic Map Reduce job. Specify the jar as '/bitkeygrinder.jar' where is the name of the bucket you uploaded the .jar to. Specify the parameters to the jar as: 's3n:/// s3n:///' where is the list of brain wallet phrases, and is where you want the result to be stored. Add some servers, and run the job. Be sure to attach a key you own so you can check on the progress by logging into the box. Download the results when the job is done, and run the .java main in 'org.tsavo.bitkey.BitKeyChecker' with the path of the directories you want scanned as the argument. You'll need to have the Bitcoin client installed, and the block chain fully downloaded. The result of that will be a file called 'Brain Wallets', which contains all the brain wallets that have ever been used in the blockchain.

bitkeygrinder's People

Contributors

tsavo avatar

Watchers

 avatar  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.