Giter Site home page Giter Site logo

devsatskillspry / generic-unspendable Goto Github PK

View Code? Open in Web Editor NEW

This project forked from joeuhren/generic-unspendable

0.0 0.0 0.0 6 KB

Quickly and easily generate custom unspendable burn wallet addresses for virtually any bitcoin-cloned cryptocurrency

License: MIT License

Python 100.00%

generic-unspendable's Introduction

generic-unspendable

The generic-unspendable script generates a valid base58 encoded address string that meets the validation checks for most cryptocurrency networks but is generated in such a way that the private key can never be found. This is useful for generating a coin burn address where any coins sent to the address can never be recovered. Using this method also allows injecting a vanity keyword into the address so that the address visibly looks much less like a random address and more like the burn address it is meant to be.

USAGE:

Simply call the python script and pass in the cryptocurrency's address prefix and a vanity keyword that will appear directly after the prefix. For example, to generate a burn address for the Bitcoin network you can use the following:

$ ./unspendable.py 1 BurnAddress
Result: 1BurnAddressXXXXXXXXXXXXXXXXV7cPS6
Decimal Address Prefix: 0

The first argument of 1 is the address prefix for the Bitcoin network.
The 2nd argument of BurnAddress is the vanity keyword to insert.

NOTE: Only certain alphanumeric characters are valid for the address prefix and vanity keyword. The list of valid characters are: 123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz

The actual address is 1BurnAddressXXXXXXXXXXXXXXXXV7cPS6 and as an added check, the decimal address prefix of 0 is also displayed to eliminate guessing. The decimal address prefix must match the 2nd bit in the PUBKEY_ADDRESS of the coin's source code or else the address will not be valid. Click here to view the PUBKEY_ADDRESS for Bitcoin's mainnet. If you are not able to generate a valid address for your network it is most likely because the decimal address prefix doesn't match. You may have to change the vanity keyword to something that starts with a different number or letter to find one that matches your network's decimal address prefix. Click here for more information about how the address prefixes work.

generic-unspendable's People

Contributors

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