generate an address from pubkey

def address(self) -> str:
        '''generate an address from pubkey'''

        return str(self._public_key.to_address(
                   net_query(self.network))
                   )