move seed generation function to bitcoin.py