Bitcoin Forum
June 24, 2024, 04:07:14 AM
Welcome,
Guest
. Please
login
or
register
.
News
:
Voting for pizza day contest
Home
Help
Search
Login
Register
More
Bitcoin Forum
>
Bitcoin
>
Development & Technical Discussion
>
Python implementation of bs58check?
Pages: [
1
]
« previous topic
next topic »
Print
Author
Topic: Python implementation of bs58check? (Read 314 times)
ptrk
(OP)
Member
Offline
Activity: 138
Merit: 90
Python implementation of bs58check?
February 19, 2019, 07:33:01 AM
#1
Is there somewhere a bs58check library in Python available? All I could find was a
NodeJs
implementation. I need to convert Bitcoin addresses to Bitcoin Gold addresses and I read using bs58check is the best way to do so.
Pmalek
Legendary
Offline
Activity: 2800
Merit: 7210
⇾
Re: Python implementation of bs58check?
February 19, 2019, 09:34:36 AM
#2
have you tried this?
https://sopaxorztaker.github.io/gold-address/
It was made by a member of Bitcointalk.
https://bitcointalk.org/index.php?topic=2485083.0
.
.
B
L
A
C
K
J
A
C
K
♠
F
U
N
.
███
▄
██
██
██
█████
██
██
██
███
▀
██
████████
██
███
██
██████
██
██
██
██
██
████████
██
██
▄▄
░██
████
██
█████
▀░▀▀
██
████████████
████
░██
██████████
██
██████
█
██
███
██
███
▄
░████
██████
██
██
▀
███████
███
██
██
██
███
██████
██░██
██████
██
██
CRYPTO
CASINO
&
SPORTS
BETTING
│
.
REWARD SYSTEM
.
E
L
I
T
E
S
E
A
T
..
│
▄▄███████▄▄
▄████
███████
████▄
███
█████████████
███
██
█████
█████████
███
██
██
█████
██
██
██
████████
██
██
█████
███████████
█████
██
██
█████
██
███
██
█████████
██
██
██████
██████
█████████
██
██
█████████
██
████████
██
██
████████
██
███████
██
███
████
███
██████
███
▀████
███████
████▀
█
█
█
█
█
█████████
█
█
█
█
█
.
Whitepaper
J
A
C
K
darosior
Sr. Member
Offline
Activity: 279
Merit: 435
Re: Python implementation of bs58check?
February 19, 2019, 11:09:59 AM
Merited
by
ptrk
(1)
#3
Quote from: ptrk on February 19, 2019, 07:33:01 AM
Is there somewhere a bs58check library in Python available? All I could find was a
NodeJs
implementation. I need to convert Bitcoin addresses to Bitcoin Gold addresses and I read using bs58check is the best way to do so.
Hi,
it's not a library but if you are interested in how to implement it I did at
https://github.com/darosior/bitcoineasy/blob/995b98f9c440aa4fa3c428750f51b7a59b327fad/bitcoineasy/utils.py#L77
ptrk
(OP)
Member
Offline
Activity: 138
Merit: 90
Re: Python implementation of bs58check?
February 19, 2019, 08:17:07 PM
#4
Quote from: Pmalek on February 19, 2019, 09:34:36 AM
have you tried this?
https://sopaxorztaker.github.io/gold-address/
It was made by a member of Bitcointalk.
https://bitcointalk.org/index.php?topic=2485083.0
Thanks, I know this page and the bitcointalk thread. However, the library it uses is the one (NodeJs lib) I mentioned in my first post.
Quote from: darosior on February 19, 2019, 11:09:59 AM
Hi,
it's not a library but if you are interested in how to implement it I did at
https://github.com/darosior/bitcoineasy/blob/995b98f9c440aa4fa3c428750f51b7a59b327fad/bitcoineasy/utils.py#L77
Thanks, this is what I was looking for. I will try it but it looks good so far.
Sukrim
Legendary
Offline
Activity: 2618
Merit: 1006
Re: Python implementation of bs58check?
February 21, 2019, 10:41:27 PM
#5
https://github.com/keis/base58
(
https://pypi.org/project/base58/
) could be what you need.
https://www.coinlend.org
<-- automated lending at various exchanges.
https://www.bitfinex.com
<-- Trade BTC for other currencies and vice versa.
bitaps
Member
Offline
Activity: 148
Merit: 45
https://bitaps.com/
Re: Python implementation of bs58check?
March 08, 2019, 01:05:13 PM
#6
https://github.com/bitaps-com/pybtc/blob/master/pybtc/functions/encode.py#L79
Check this library
https://bitaps.com
Karen Sloot
Newbie
Offline
Activity: 1
Merit: 0
Re: Python implementation of bs58check?
March 14, 2019, 08:00:38 AM
#7
Straight Forward Python Implementation Of bs58check
var bs58check = require('bs58check')
var decoded = bs58check.decode('5Kd3NBUAdUnhyzenEwVLy9pBKxSwXvE9FMPyR4UKZvpe6E3AgLr')
console.log(decoded)
// => <Buffer 80 ed db dc 11 68 f1 da ea db d3 e4 4c 1e 3f 8f 5a 28 4c 20 29 f7 8a d2 6a f9 85 83 a4 99 de 5b 19>
console.log(bs58check.encode(decoded))
// => 5Kd3NBUAdUnhyzenEwVLy9pBKxSwXvE9FMPyR4UKZvpe6E3AgLr
Pmalek
Legendary
Offline
Activity: 2800
Merit: 7210
Re: Python implementation of bs58check?
March 14, 2019, 09:35:32 AM
#8
@Karen Sloot
You need to provide the source when you copy/paste something. I assume you took that from here -
https://github.com/bitcoinjs/bs58check
You first post could be a reason for getting banned, so be careful with that.
.
.
B
L
A
C
K
J
A
C
K
♠
F
U
N
.
███
▄
██
██
██
█████
██
██
██
███
▀
██
████████
██
███
██
██████
██
██
██
██
██
████████
██
██
▄▄
░██
████
██
█████
▀░▀▀
██
████████████
████
░██
██████████
██
██████
█
██
███
██
███
▄
░████
██████
██
██
▀
███████
███
██
██
██
███
██████
██░██
██████
██
██
CRYPTO
CASINO
&
SPORTS
BETTING
│
.
REWARD SYSTEM
.
E
L
I
T
E
S
E
A
T
..
│
▄▄███████▄▄
▄████
███████
████▄
███
█████████████
███
██
█████
█████████
███
██
██
█████
██
██
██
████████
██
██
█████
███████████
█████
██
██
█████
██
███
██
█████████
██
██
██████
██████
█████████
██
██
█████████
██
████████
██
██
████████
██
███████
██
███
████
███
██████
███
▀████
███████
████▀
█
█
█
█
█
█████████
█
█
█
█
█
.
Whitepaper
J
A
C
K
ptrk
(OP)
Member
Offline
Activity: 138
Merit: 90
Re: Python implementation of bs58check?
March 24, 2019, 07:11:53 PM
#9
Quote from: Pmalek on March 14, 2019, 09:35:32 AM
@Karen Sloot
You need to provide the source when you copy/paste something. I assume you took that from here -
https://github.com/bitcoinjs/bs58check
You first post could be a reason for getting banned, so be careful with that.
It seems to be from the mentioned source.The snippet works if the appropriate library is imported.
My question is solved. I lock this thread.
Pages: [
1
]
Print
Bitcoin Forum
>
Bitcoin
>
Development & Technical Discussion
>
Python implementation of bs58check?
« previous topic
next topic »
Jump to:
Please select a destination:
-----------------------------
Bitcoin
-----------------------------
=> Bitcoin Discussion
===> Legal
===> Press
===> Meetups
===> Important Announcements
=> Development & Technical Discussion
===> Wallet software
=====> Electrum
=====> Bitcoin Wallet for Android
=====> BitcoinJ
=====> Armory
=====> Mycelium
=====> Hardware wallets
=> Mining
===> Mining support
===> Pools
===> Mining software (miners)
===> Hardware
=====> Group buys
===> Mining speculation
=> Bitcoin Technical Support
=> Project Development
-----------------------------
Economy
-----------------------------
=> Economics
===> Speculation
=> Marketplace
===> Goods
=====> Computer hardware
=====> Digital goods
=======> Invites & Accounts
=====> Collectibles
===> Services
===> Currency exchange
===> Gambling
=====> Games and rounds
=====> Investor-based games
=====> Gambling discussion
===> Lending
=====> Long-term offers
===> Securities
===> Auctions
===> Service Announcements
=====> Micro Earnings
===> Service Discussion
=====> Web Wallets
=====> Exchanges
=> Trading Discussion
===> Scam Accusations
===> Reputation
-----------------------------
Other
-----------------------------
=> Meta
===> New forum software
===> Bitcoin Wiki
=> Politics & Society
=> Beginners & Help
=> Off-topic
=> Serious discussion
===> Ivory Tower
=> Archival
===> Корзина
===> CPU/GPU Bitcoin mining hardware
===> Chinese students
===> Obsolete (buying)
===> Obsolete (selling)
===> MultiBit
-----------------------------
Alternate cryptocurrencies
-----------------------------
=> Altcoin Discussion
=> Announcements (Altcoins)
===> Tokens (Altcoins)
=> Mining (Altcoins)
===> Pools (Altcoins)
=> Marketplace (Altcoins)
===> Service Announcements (Altcoins)
===> Service Discussion (Altcoins)
===> Bounties (Altcoins)
=> Speculation (Altcoins)
-----------------------------
Local
-----------------------------
=> العربية (Arabic)
===> العملات البديلة (Altcoins)
=====> النقاشات
===> إستفسارات و أسئلة المبتدئين
===> التعدين
===> النقاشات الأخرى
===> منصات التبادل
=> Bahasa Indonesia (Indonesian)
===> Marketplace (Bahasa Indonesia)
===> Mining (Bahasa Indonesia)
===> Altcoins (Bahasa Indonesia)
===> Trading dan Spekulasi
===> Ekonomi, Politik, dan Budaya
===> Topik Lainnya
=> Español (Spanish)
===> Mercado y Economía
=====> Servicios
=====> Trading y especulación
===> Hardware y Minería
===> Esquina Libre
===> Mercadillo
=====> Mexico
=====> Argentina
=====> España
=====> Centroamerica y Caribe
===> Primeros pasos y ayuda
===> Altcoins (criptomonedas alternativas)
=====> Minería de altcoins
=====> Servicios
=====> Tokens (Español)
=> 中文 (Chinese)
===> 跳蚤市场
===> 山寨币
===> 媒体
===> 挖矿
===> 离题万里
=> Hrvatski (Croatian)
===> Trgovina
===> Altcoins (Hrvatski)
=====> Announcements (Hrvatski)
===> Off-topic (Hrvatski)
=> Deutsch (German)
===> Anfänger und Hilfe
===> Mining (Deutsch)
===> Trading und Spekulation
===> Projektentwicklung
===> Off-Topic (Deutsch)
===> Treffen
===> Presse
===> Altcoins (Deutsch)
=====> Announcements (Deutsch)
===> Marktplatz
=====> Auktionen
=====> Suche
=====> Biete
=> Ελληνικά (Greek)
===> Αγορά
===> Mining Discussion (Ελληνικά)
===> Altcoins (Ελληνικά)
=====> Altcoin Announcements (Ελληνικά)
=====> Altcoin Mining (Ελληνικά)
=> עברית (Hebrew)
=> Français
===> Actualité et News
===> Débutants
===> Discussions générales et utilisation du Bitcoin
===> Mining et Hardware
===> Économie et spéculation
===> Place de marché
=====> Échanges
=====> Produits et services
=====> Petites annonces
===> Le Bitcoin et la loi
===> Wiki, documentation et traduction
===> Développement et technique
===> Vos sites et projets
===> Hors-sujet
===> Altcoins (Français)
=====> Annonces
=> India
===> Mining (India)
===> Marketplace (India)
===> Regional Languages (India)
===> Press & News from India
===> Alt Coins (India)
===> Buyer/ Seller Reputations (India)
===> Off-Topic (India)
=> Italiano (Italian)
===> Guide (Italiano)
===> Progetti
===> Discussioni avanzate e sviluppo
===> Trading, analisi e speculazione
===> Mercato
=====> Mercato valute
=====> Beni
=====> Servizi
=====> Esercizi commerciali
=====> Hardware/Mining (Italiano)
=====> Gambling (Italiano)
===> Accuse scam/truffe
===> Mining (Italiano)
===> Alt-Currencies (Italiano)
=====> Annunci
===> Raduni/Meeting (Italiano)
===> Crittografia e decentralizzazione
===> Off-Topic (Italiano)
=> 日本語 (Japanese)
===> アルトコイン
=> Nederlands (Dutch)
===> Markt
===> Gokken/lotterijen
===> Mining (Nederlands)
===> Beurzen
===> Alt Coins (Nederlands)
===> Off-topic (Nederlands)
===> Meetings (Nederlands)
=> Nigeria (Naija)
===> Politics and society (Naija)
===> Off-topic (Naija)
=> 한국어 (Korean)
===> 대체코인 Alt Coins (한국어)
=> Pilipinas
===> Altcoins (Pilipinas)
=====> Altcoin Announcements (Pilipinas)
===> Pamilihan
===> Others (Pilipinas)
=> Polski
===> Tablica ogłoszeń
===> Alternatywne kryptowaluty
=====> Nowe kryptowaluty i tokeny
=====> Tablica ogłoszeń (altcoiny)
=> Português (Portuguese)
===> Primeiros Passos (Iniciantes)
===> Economia & Mercado
===> Mineração em Geral
===> Desenvolvimento & Discussões Técnicas
===> Criptomoedas Alternativas
===> Brasil
===> Portugal
=> Русский (Russian)
===> Новички
===> Бизнес
=====> Барахолка
=====> Обменники
===> Идеи
===> Кодеры
===> Майнеры
===> Политика
===> Трейдеры
===> Альтернативные криптовалюты
=====> Токены
=====> Бayнти и aиpдpoпы
===> Хайпы
===> Работа
===> Разное
===> Oбcyждeниe Bitcoin
=====> Новости
=====> Юристы
=> Română (Romanian)
===> Anunturi importante
===> Offtopic
===> Market
=====> Discutii Servicii
===> Minerit
===> Tutoriale
===> Bine ai venit!
===> Presa
===> Altcoins (Monede Alternative)
=====> Anunturi Monede Alternative
=> Skandinavisk
=> Türkçe (Turkish)
===> Bitcoin Haberleri
===> Pazar Alanı
===> Madencilik
===> Ekonomi
===> Servisler
=====> Fonlar
===> Proje Geliştirme
===> Alternatif Kripto-Paralar
=====> Madencilik (Alternatif Kripto-Paralar)
=====> Duyurular (Alternatif Kripto-Paralar)
===> Konu Dışı
===> Yeni Başlayanlar & Yardım
===> Buluşmalar
=> Other languages/locations
Loading...