Decentralized Databases

Remove Web2 dependencies from your Web3 stack with Verida’s decentralized databases.
Web3 Builders
Eliminate centralized storage from your tech stack.
Decentralized AI
Store and access AI models in secure and private environments.
Digital Identities
Future-proof your app with regulatory-compliant DIDs.
Build with Verida

When to Use Decentralized Databases

Verida’s decentralized databases can be used for diverse applications. Here are some key use cases that benefit from Verida’s technical features.

Eliminate Centralization

Elevate your stack from Web2 to Web3 and remove central points of failure.

Secure User Credentials

Store credentials in a tamperproof decentralized system, providing enhanced protection and compliance.

Self-Host Personal Data

Maintain sovereign control over your data without relying on third-party services. Store secure backups of all your sensitive information.

Safeguard AI Training Data

Train AI models in secure environments, ensuring data privacy throughout the process.

Key Challenges Facing Web3 Storage

Web3 data storage is no match for Web2's performance. In addition to slow speed and poor UX, several design hurdles prevent the adoption of blockchain-based solutions.
Learn More

Data Security

Without end-to-end encryption, public blockchains can’t be relied upon for storing private data.

Data Sovereignty

Public blockchains aren’t designed for self-hosting personal data, nor do they provide control over where the data is hosted.

Data Compliance

Public blockchains may be transparent and accessible, but they don’t meet real-world data requirements such as GDPR.

How Verida Bridges the Performance Gap

Verida leverages a hybrid approach, combining blockchain-based identification with offchain, verified storage. Dedicate your energy to developing apps while relying on secure and reliable decentralized infrastructure.

Cut Costs, Boost Efficiency

Verida databases are optimized for high performance and affordability.

Security Simplified

Built-in authentication and end-to-end encryption ensure data safety without requiring deep cryptographic knowledge.

Effortless Integration

Easily integrate with global identity standards using Verida’s interoperable data schemas.

Compliance Made Easy

Build with confidence in sectors like healthcare and finance, thanks to Verida’s support for regulatory requirements.
Integrating Verida into your Web3 stack streamlines your development. Manage structured data, indexes, database queries, and more in a decentralized environment.
Open a database
const db = await context.openDatabase('test_db', {
	permissions: {
		read: PERMISSIONS.PUBLIC,
		write: PERMISSIONS.OWNER
}
})
Save data
const contactDatastore = await context.openDatastore
('https://common.schemas.verida.
io/social/contact/v0.1.0/schema.json')

const contact = {
 firstName: 'John',
 email: 'john@smith.com'
}

const success = await contactDatastore.save(contact)

if (!success) {
 console.error(contacts.errors)
}
Search data
const filter = {
  organization: 'Google'
}

const options = {
  limit: 20,
  skip: 0,
  sort: [{insertedAt: 'desc'}]
}

const results = contacts.getMany(filter, options)
console.log(results)

Send inbox messages
const messaging = await context.getMessaging()

const data = {
   data: [
       {
           firstName: 'Verida',
           lastName: 'Example',
           email: 'verida.example@example.com',
           schema: 'https://common.schemas.verida.io/social
           /contact/v0.1.0/schema.json'
       }
   ]
}
const message = 'Sending you a contact'

messaging.send('did:vda:0x6B2a1bE81ee770cbB4648801e343E135e8D2Aa6F'
, 'inbox/type/dataSend', data, message)
Discover the core technical features that make Verida’s decentralized databases achievable and effective.

Additional Resources

A wealth of information and support is available to builders in the Verida network. Explore these key resources to advance your journey.

Start Building with Verida

Ready to implement decentralized databases in your projects? Get onboard with Verida, and let’s build the next generation of authentic Web3 applications.
Start Building