code: def to_address(self):
          
          key = unhexlify(self.get_public_key_hex())
          # First get the hash160 of the key
          hash160_bytes = hash160(key)
          # Prepend the network address byte
          network_hash160_bytes = \
              chr_py2(self.network.PUBKEY_ADDRESS) + hash160_bytes
          # Return a base58 encoded address with a checksum
          return ensure_str(base58.b58encode_check(network_hash160_bytes))
docs: Create a public address from this Wallet.
  
          Public addresses can accept payments.
  
          https://en.bitcoin.it/wiki/Technical_background_of_Bitcoin_addresses