Giter Club home page Giter Club logo

python-bitcoinaddress's Introduction

python-bitcoinadress

Bitcoin address validation

2012-12-14 R.R. Nederhoed https://github.com/nederhoed/python-bitcoinadress Please give feedback.

Original author probably: http://paddy3118.blogspot.nl/2012/11/some-identities-for-python-inttobytes.html

Copied from: http://rosettacode.org/wiki/Bitcoin/address_validation#Python

I packaged it to be available to everyone via The Cheese Shop (pypi): http://pypi.python.org/pypi/python-bitcoinaddress

If you use this module, support me with bitcoins! Any amount is appreciated. 1qYsJbtEWAeXMsbgxUgGsJsAp3VArsBRd

History

2018-01-15 (binaryFate)

  • Add support for validating BECH32 addresses (often called "Segwit addresses")
  • Switch to using a boolean to specify testnet instead of asking user to know magicbytes

2014-08-13

  • Changed testnet support in a way that all altcoin addresses can be validated (thanks to Frederico Reiven, cheers mate!)

2014-05-15

  • Added support for validating testnet addresses.

2013-08-12

  • Invalidate addresses with non-base58 characters Leading or trailing spaces will invalidate your address. Strip them before validating the address.

2012-12-14

  • Renamed the check_bc function to validate for ease of use.
  • Added check if the base58-re-encoded address matches the original address Relevant for short addresses with a valid check, but invalid format. For example: 14oLvT2 The valid version of that address is: 1111111111111111111114oLvT2
  • Added alternatives for long.to_bytes and long.from_bytes for Python versions prior to 3.2
  • Added unit tests

python-bitcoinaddress's People

Contributors

binaryfate avatar johnnydebris avatar nederhoed 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.