Giter Site home page Giter Site logo

jpja / btc-and-xcp-passphrase-tools Goto Github PK

View Code? Open in Web Editor NEW
5.0 4.0 14.0 2.14 MB

Retrieve/regenerate your counterwallet bitcoin addresses & privatekeys using your counterwallet 12 word passphrase. Also allows you to sign messages with your private keys

Home Page: https://blockscan.com/tool_generatekey

HTML 100.00%

btc-and-xcp-passphrase-tools's Introduction

##BTC and XCP Passphrase Tools##

  • Each tool is a separate html file which can run offline. You do not need to unzip the directory to run a tool.
  • I encourage others to review the code and potentially improve/fork it.

Tools are experimental. Pending security audit. Use at own risk!

###Paperwallet###

Outputs a printer friendly paper wallet.

It prints the list of Bitcoin/Counterparty addresses and (optionally) private keys derived from a passphrase. The passphrase is compatible with Counterwallet, XCP Wallet for Chrome, and GetGems Messenger.

  • The code is forked from Blockscan's key generation tool. All changes are cosmetic.

###Vanity-address###

Finds a passphrase with vanity addresses. Specify vanity patterns for up to three addresses. The pattern starts with 1 followed by one or more characters. When specifying a pattern, consider this:

  • The algorithm tries random passphrases until it finds the desired pattern. This can take a long time. Your browser may freeze.
  • By default it stops searching after 1000 iterations but you can ovverrule this by typing inf at the begining of the random text input string.
  • Around 10 passphrases are tested per second. The probability of an address starting with 1A is 1/22. Therefore it takes a couple of seconds to find an address which starts with 1A. If you want both the first two addresses to start with 1A, the probability is squared; 1/484. Be prepared to wait around a minute. If all three addresses shall start with 1A, the proability is cubed and you'll likely have to wait around twenty minutes.
  • Addresses starting with 12,...,19,1A,...,1P are the easiest to find.
  • For subsequent characters the probability is approx. 1/58. Therefore by adding one character to one address you'll expect to wait 58 times longer!
  • Example: To make one address start with 1CP, expect to wait 2-3 minutes; p = 1/(22*58).
  • Example: To make one address start with 1XP, expect to wait a couple of hours. This is slow because 1X is rare; p=1/(1353*58).
  • Example: To make both the first two addresses start with 1A, expect to wait less than a minute; p=1/22^2.
  • Example: To make all the first three address start with 1A, expect to wait around twenty minutes; p=1/22^3.

###Brain-passphrase###

Generates a 12-word passphrase from a text input. The passphrase can be used in Counterwallet, XCP Chrome Wallet and GetGems Messenger.

  • It can be used as a sort of brain wallet. I advice against using it as such, but feel free to play around.

###Formatted###

Generates a 12-word passphrase with words only of a specified length.

  • It can be useful for example for a mobile app where a shorter passphrase is needed to fit the screen.
  • The downisde is security. Only a subset of the dictionary is used, hence significantly fewer possible combinations.

###Dictionary###

Displays all the 1626 words used to generate a 12-word passphrase.

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.