zbxcat/test.py

17 lines
292 B
Python

from api import *
print("Starting test of xcat...")
seller_init()
buyer_init()
seller_fund()
buyer_fund()
seller_redeem()
buyer_redeem()
# addr = CBitcoinAddress('tmFRXyju7ANM7A9mg75ZjyhFW1UJEhUPwfQ')
# print(addr)
# # print(b2x('tmFRXyju7ANM7A9mg75ZjyhFW1UJEhUPwfQ'))
# print(b2x(addr))