What is ‘Key-Value Store’ in ADAMANT and How is it used to Store Contact Names?

Technology used in online-messengers has developed continuously over the past few decades, however, the creation of such services is becoming mundane. When the time comes for a paradigm shift in such technologies, every small improvement requires research, design, development, and testing — this is where the future lays with ADAMANT.

Earlier, we announced the development of a new mechanism for storing contact data (KVS) in blockchain and a new transaction type, we have already implemented these innovations in the ADAMANT Blockchain version 0.2.0: https://github.com/Adamant-im/adamant/releases/tag/v0.2.0.

KVS (key-value store) is a way to store information, both public and private (secure), where examples are public Ethereum addresses and private Address books.

Private KVS transactions are stored in the blockchain along with transactions of other types and are only available to their owners since transaction’s content is encrypted with a private key (actually to make it more secure, a hash of it, and adding salt). See AIP-3 for more information.

ADAMANT provides incremental data storage so the client application only transmits the address book changes, not the entire address book. This is very important for blockchain data storage. For each key (for example, the contact name U324242353425354) a certain value can be stored (“John”, for example).

Now, we’ve updated the Messenger application https://msg.adamant.im, so you’re now able to use new functionality — to rename a contact, click a header with the ADAMANT address in-chat.

Soon, Address books will be implemented into the iOS and Android application versions.