basicswap_prepare.py