Dash, a renowned payment-focused cryptocurrency project built with ease of use and near-instant transactions in mind, has recently introduced GroveDB. The product marks a leap forward for the entire industry as it is the world’s first database to support secondary index query proofs. GroveDB is a critical component of the upcoming Dash Platform, scheduled for release in the last quarter of 2023.
As GroveDB is the first database to support secondary index query proofs, GroveDB is the first to enable users to perform complex database queries in an intuitive and efficient manner while allowing them to verify their search results with cryptographic proofs.
GroveDB queries look like traditional database queries, only with the added functionality of cryptographic verification. Suppose a user wants to search insurance records to find the names of all Brazilian citizens who have had the flu in 2020. This search would use 3 secondary indexes: one for country, one for disease, and one for year. The data is returned to the user along with the proof, which consists of instructions for calculating the root hash of the database using the requested data. Once the hash has been calculated, it can be compared to the actual root hash of the database, and if they match, the user can rest assured that the data is authentic. Of course, this whole process is transparently handled by GroveDB.
Designed as a multi-tiered, specialized, demonstrable solution, GroveDB will become a vital enabler in driving Dash’s growth and greater decentralization. Developers deploying their applications on Dash Platform gain access to security guarantees and query capabilities not found anywhere else.
Meanwhile, GroveDB acts as a completely self-contained, open-source product that can be easily integrated into other dApps for the same purposes. The database is written in Rust and supports all compile targets (x86, AArch64 and Wasm) and also has Node.js bindings.
At its core, GroveDB takes a hierarchical form where root hashes of lower-level trees are stored in higher-level tree nodes; and the root hash of the root tree can be used to prove the state of the entire database. All trees in GroveDB are standard Merkle trees, which allows higher performance compared to most other Merkle stores: higher throughput, more efficient use of the backing store, and faster proof generation.
GroveDB is purpose built and tuned for secondary index queries that are more complex than retrieving a single key. Users can create unique and composite indexes for each field and access them intuitively, without having to repeat every single record in the database as they would without secondary indexes. In addition, users can rest assured that the data they receive has not been tampered with as GroveDB makes it possible to verify the authenticity of all queries using cryptographic proofs.
In this context, the database will provide a cost-effective solution for dApps that currently use non-verifiable indexing services such as The Graph.
“The users of such services are forced to rely solely on reputation systems and economic incentives – they are not guaranteed the authenticity of the data. GroveDB introduces proofs for complex queries, giving users both smooth data indexing and verifiability.” said Paul DeLucia, R&D at Dash Core Group.
“The need for proofs of secondary index queries is evident in the blockchain sector where reliability is vital. We are sure GroveDB’s technical innovation will make it an attractive tool for dApp developers.” added DeLucia.
Dash has also revealed some other features that set GroveDB apart from its competitors. Among them are ACID compliance, immutable and mutable storage, as well as attendance and absence proofs. Moreover, GroveDB is free to use and offers much more functionality compared to similar databases.
Feel free to check out GroveDB’s extensive documentation here.
About Das
Dash is a payment-oriented cryptocurrency that allows millions of individuals around the world to make instant and secure transactions, with almost zero fees. It is accepted at nearly 200,000 merchants worldwide, accessible through 3,300+ ATMs and 100+ exchanges worldwide.
Dash pioneered groundbreaking features including a dual network of boosted nodes and decentralized project management, instantly settled payments, and a completely secure blockchain. The development of the Dash Network is supported by Dash Core Group, the largest organization funded by the Dash Treasury. For more information visit https://www.dash.org/.
Disclaimer: This is a paid post and should not be treated as news/advice.