Post
Topic
Board Development & Technical Discussion
Re: base58encode_check to a string
by
shinohai
on 21/07/2025, 01:22:23 UTC
Perhaps something like

Code:
from sys import stdin
from pybitcointools import privkey_to_pubkey, pubkey_to_address
from hashlib import sha256

print pubkey_to_address(privkey_to_pubkey(sha256(stdin.read()).hexdigest()))

Hash yer string with sha256, this is the private key which then spits out a public key you can send dust to, etc.