Loading...
Searching...
No Matches
addr.py File Reference

Go to the source code of this file.

Namespaces

namespace  addr
 

Variables

 addr.pub_key = sys.argv[1]
 
 addr.res = wallet_tools_py.GenAddr(pub_key)
 
 addr.witprog = bytes.fromhex(res.hex())
 
int addr.witver = 0x00
 
str addr.hrp = 'bc'
 
 addr.address = bech32.encode(hrp, witver, witprog)