A Python library for interacting and working with the Woop blockchain.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
pywiki/tests/bech32-pyhmy/test_bech32.py

9 lines
191 B

from pyhmy.bech32 import (
bech32
)
def test_encode():
bech32.encode('one', 5, [121, 161])
def test_decode():
bech32.decode('one', 'one1a0x3d6xpmr6f8wsyaxd9v36pytvp48zckswvv9')