I don't see it in loyce.club archives so either it was never in this thread to begin with or it was deleted too quickly (within 5 minutes of posting).
They'll probably delete this one too... I better stay a long time out of here!
It was the Bitcointalk forum that inspired us to create Bitcointalksearch.org - Bitcointalk is an excellent site that should be the default page for anybody dealing in cryptocurrency, since it is a virtual gold-mine of data. However, our experience and user feedback led us create our site; Bitcointalk's search is slow, and difficult to get the results you need, because you need to log in first to find anything useful - furthermore, there are rate limiters for their search functionality.
The aim of our project is to create a faster website that yields more results and faster without having to create an account and eliminate the need to log in - your personal data, therefore, will never be in jeopardy since we are not asking for any of your data and you don't need to provide them to use our site with all of its capabilities.
We created this website with the sole purpose of users being able to search quickly and efficiently in the field of cryptocurrency so they will have access to the latest and most accurate information and thereby assisting the crypto-community at large.
# Some python code
# Create compressed public key from points
def point2compressed(x, y):
if (y % 2 == 0):
prefix = "02"
else:
prefix = "03"
hx = hex(x)[2:].zfill(64)
return prefix + hx
# create uncompressed public key from points
def point2uncompressed(x, y):
hx = hex(x)[2:].zfill(64)
hy = hex(y)[2:].zfill(64)
return "04" + hx
#NOTE: code after this line is untested and probably broken
# public key to HASH160
from hashlib import sha256
import bytearray
def hash160(pubkey):
#TODO This currently doesn't add the required prefix/suffix at the hash.
hexkey = bytearray.fromhex(pubkey)
h = sha256()
h.update(hexkey)
hash160 = h.digest()
return hash160
#pip install base58
def legacy_address(hash160):
#TODO
def nested_segwit_address(hash160):
#TODO
#pip install bech32
def native_segwit_address(hash160):
#TODO
#pip install requests
import requests
def has_balance(address):
r = requests.get("https://api.blockchair.com/bitcoin/addresses?address={}".format(address))
if r.status != 200:
throw Exception("Got Status {} from Blockchair".format(r.status))
return r.json()
04e34a65a26877b80299ea0efe5d801cf30e09c2894b1100f5f2509e926739eef515c393ff61a2036b4d54ef9286c99f00ca580a6b6aed5c5778dca83a7d9fa280
16YUtotH4Dsp9teiVevjVnLJfZjgQJQtPH (uncompressed)
1CsgVKvxJ4QwVwwPUTpSJ3qKhuDvepeVaa (compressed)
04e34a65a26877b80299ea0efe5d801cf30e09c2894b1100f5f2509e926739eef515c393ff61a2036b4d54ef9286c99f00ca580a6b6aed5c5778dca83a7d9fa280
16YUtotH4Dsp9teiVevjVnLJfZjgQJQtPH (uncompressed)
1CsgVKvxJ4QwVwwPUTpSJ3qKhuDvepeVaa (compressed)