Loading...
Searching...
No Matches
addr Namespace Reference

Variables

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

Variable Documentation

◆ address

addr.address = bech32.encode(hrp, witver, witprog)

Definition at line 30 of file addr.py.

◆ hrp

str addr.hrp = 'bc'

Definition at line 29 of file addr.py.

◆ pub_key

addr.pub_key = sys.argv[1]

Definition at line 23 of file addr.py.

◆ res

addr.res = wallet_tools_py.GenAddr(pub_key)

Definition at line 25 of file addr.py.

◆ witprog

addr.witprog = bytes.fromhex(res.hex())

Definition at line 27 of file addr.py.

◆ witver

int addr.witver = 0x00

Definition at line 28 of file addr.py.