A more thorough implementation of Coinbase in Python