keis / Base58
Licence: mit
Base58 and Base58Check implementation compatible with what is used by the bitcoin network.
Stars: ✭ 132
Programming Languages
python
139335 projects - #7 most used programming language
Projects that are alternatives of or similar to Base58
Coinnect
Coinnect is a Rust library aiming to provide a complete access to main crypto currencies exchanges via REST API.
Stars: ✭ 130 (-1.52%)
Mutual labels: bitcoin
Gnome Feeder
Profit Trailer Feeder Full Build with Settings
Stars: ✭ 122 (-7.58%)
Mutual labels: bitcoin
Phoenix
Phoenix is a non custodial Bitcoin wallet using Lightning to send/receive payments.
Stars: ✭ 129 (-2.27%)
Mutual labels: bitcoin
Coinselect
An unspent transaction output (UTXO) selection module for bitcoin.
Stars: ✭ 121 (-8.33%)
Mutual labels: bitcoin
Awesome Bitcoin Payment Processors
🌟 A curated list of Bitcoin payment processors enabling merchants, businesses and nonprofits to accept Bitcoin payments.
Stars: ✭ 129 (-2.27%)
Mutual labels: bitcoin
Hadoopcryptoledger
Hadoop Crypto Ledger - Analyzing CryptoLedgers, such as Bitcoin Blockchain, on Big Data platforms, such as Hadoop/Spark/Flink/Hive
Stars: ✭ 126 (-4.55%)
Mutual labels: bitcoin
Codability
Useful helpers for working with Codable types in Swift
Stars: ✭ 125 (-5.3%)
Mutual labels: encoding
Orko
Trade on and script multiple crypto exchanges from a single user interface on desktop and mobile. In development.
Stars: ✭ 128 (-3.03%)
Mutual labels: bitcoin
Simplecoin
Just a really simple, insecure and incomplete implementation of a blockchain for a cryptocurrency made in Python as educational material. In other words, a simple Bitcoin clone.
Stars: ✭ 1,694 (+1183.33%)
Mutual labels: bitcoin
Paypercall
Charge for HTTP APIs on a pay-per-call basis with Bitcoin and Lightning ⚡️
Stars: ✭ 131 (-0.76%)
Mutual labels: bitcoin
Codetective
a tool to determine the crypto/encoding algorithm used according to traces from its representation
Stars: ✭ 121 (-8.33%)
Mutual labels: encoding
Phptrader
A simple php powered Bitcoin and Ethereum trading bot
Stars: ✭ 131 (-0.76%)
Mutual labels: bitcoin
base58
Base58 and Base58Check implementation compatible with what is used by the bitcoin network. Any other alternative alphabet (like the XRP one) can be used.
Starting from version 2.0.0 python2 is no longer supported the 1.x series will remain supported but no new features will be added.
Command line usage
$ printf "hello world" | base58
StV1DL6CwTryKyV
$ printf "hello world" | base58 -c
3vQB7B6MrGQZaxCuFg4oh
$ printf "3vQB7B6MrGQZaxCuFg4oh" | base58 -dc
hello world
$ printf "4vQB7B6MrGQZaxCuFg4oh" | base58 -dc
Invalid checksum
Module usage
>>> import base58
>>> base58.b58encode(b'hello world')
b'StV1DL6CwTryKyV'
>>> base58.b58decode(b'StV1DL6CwTryKyV')
b'hello world'
>>> base58.b58encode_check(b'hello world')
b'3vQB7B6MrGQZaxCuFg4oh'
>>> base58.b58decode_check(b'3vQB7B6MrGQZaxCuFg4oh')
b'hello world'
>>> base58.b58decode_check(b'4vQB7B6MrGQZaxCuFg4oh')
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "base58.py", line 89, in b58decode_check
raise ValueError("Invalid checksum")
ValueError: Invalid checksum
# Use another alphabet. Here, using the built-in XRP/Ripple alphabet.
# RIPPLE_ALPHABET is provided as an option for compatibility with existing code
# It is recommended to use XRP_ALPHABET instead
>>> base58.b58encode(b'hello world', alphabet=base58.XRP_ALPHABET)
b'StVrDLaUATiyKyV'
>>> base58.b58decode(b'StVrDLaUATiyKyV', alphabet=base58.XRP_ALPHABET)
b'hello world'
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].