Key-Value Store in ADAMANT: Storing Contact Names on the Blockchain

ADAMANT introduced a key-value store (KVS) mechanism for storing contact data on the blockchain, implemented in ADAMANT Blockchain version 0.2.0. KVS supports both public and private data storage. Public examples include Ethereum addresses, while private examples include address books.
Private KVS transactions are stored on-chain alongside other transaction types but are only accessible to their owners. The transaction content is encrypted using a hash of the owner’s private key with added salt for additional security. Full technical details are specified in AIP-3.
ADAMANT uses incremental data storage, meaning the client application transmits only address book changes rather than the entire address book. This is an important consideration for blockchain-based storage, where minimizing on-chain data size matters. Each key maps to a specific value — for example, a contact’s ADAMANT address (such as U324242353425354) maps to a display name (such as “John”).
The ADAMANT Messenger web application has been updated to support this functionality. Users can rename a contact by clicking the header containing the ADAMANT address within a chat.

Address book support is planned for the iOS and Android applications in future releases.