def public_address(self, net='<STR_LIT>'):
if net not in ('<STR_LIT>', '<STR_LIT>', '<STR_LIT>'):<EOL><INDENT>raise ValueError(<EOL>"<STR_LIT>")<EOL><DEDENT>netbyte = <NUM_LIT> if net == '<STR_LIT>' else <NUM_LIT> if net == '<STR_LIT>' else <NUM_LIT><EOL>data = "<STR_LIT>".format(netbyte, self.public_spend_key(), self.public_view_key())<EOL>h = keccak_256()<EOL>h.update(unhexlify(data))<EOL>checksum = h.hexdigest()<EOL>return address(base58.encode(data + checksum[<NUM_LIT:0>:<NUM_LIT:8>]))<EOL>
Returns the master :class:`Address <monero.address.Address>` represented by the seed.

        :param net: the network, one of 'mainnet', 'testnet', 'stagenet'. Default is 'mainnet'.

        :rtype: :class:`Address <monero.address.Address>`