New answers tagged

1 vote

How do I properly derive a stake key from an address using Bech32?

Maybe it is a bit late, but hope it helps. You can use this python library PyCardano to derive the stake key. Here is the code example: >>> from pycardano import Address, Network >>>...
user avatar
  • 313
2 votes
Accepted

Derive public key hash from bech32 address using python

Check out pycardano. Class Address has a class method from_primitive that can read and decode a bech32 address. Then you can directly read field payment_part, which is the public key hash of the ...
user avatar
  • 313

Top 50 recent answers are included