exchange deposit addressfor users to deposit assets privately. To understand the exchange deposit address, let's decode the structure of a TomoP privacy address.
public view key (33 bytes) | public spend key (33 bytes) | checksum (4 bytes)
Public view keyand
public spend keyare public keys in compressed format corresponding to
private view keyand
private spend key, of which
Private view key = keccak256(private spend key)
Exchange Deposit Address (EDA)is Base58-encoded data of the following data:
public view key (33 bytes) | public spend key (33 bytes) | userID (8 bytes) | checksum (4 bytes)
public view keyand
public spend keybut a different userID.
depositID = ECDH - userID
depositIDwill be published to privacy smart contract
userID = depositID - ECDH
userIDmatches with one of the user IDs in their database.