Easily store private user-owned data with Lit and OrbisDB
Learn how you can use Lit and OrbisDB to store private data on the open Web.
OrbisDB is an open-source relational database, like Supabase but for onchain builders, providing authentication, crypto plugins, hosted service, and a user-friendly dashboard. OrbisDB is built on top of Ceramic, a decentralized data network enabling data to be verified and distributed. By integrating Lit Protocol's programmable signing and encryption capabilities, developers can store encrypted user data in a distributed database eliminating security concerns and enabling privacy without complexity. More than 100 developers use OrbisDB beta, and many of them leverage access control conditions or Lit Actions/PKP for various use cases.
A brand new authentication system
Traditional authentication systems often rely on centralized databases, making them vulnerable and less transparent. Lit Protocol’s Programmable Key Pairs (PKPs) and OrbisDB introduce a new decentralized authentication solution, bringing together the security of a cryptographic wallet and decentralized identifiers.
Lit’s PKPs allow users to create non-custodial wallets and automate transactions while making it secure through the Lit Network. Each Lit node holds a share of the private key, requiring more than two-thirds of these shares to come together to execute actions, such as signing transactions. Coupled with OrbisDB’s support for DIDs, users can authenticate through decentralized identifiers on the Ceramic network, and enable a seamless onboarding for application users.
Use Cases and Implementations
Encrypted data in a decentralized data network
Lit Protocol enables secure data encryption and decryption for your dApp. By leveraging Lit’s threshold MPC keys, you can encrypt data and set custom access control conditions that determine when and under what circumstances decryption will be permitted. Similar to programmable transaction signing, these conditions can consist of both on-chain data and off-chain data accessible via generic HTTP requests.
OrbisDB allows you to effortlessly store encrypted data and access control conditions in a distributed way on Ceramic. With the OrbisDB SDK, storing encrypted data on Ceramic is as simple as a single method call.
Seamless User Onboarding: How CoinEasy App utilizes Lit PKPs with OrbisDB
CoinEasy is the leading crypto education hub for the Korean web3 community and the official educational representative for top blockchains and protocols. The CoinEasy app provides a user-friendly interface and familiar UX to help onboard web2 natives to web3.
OrbisDB securely stores all user data on the CoinEasy app, while utilizing Lit Protocol’s PKPs to ensure a seamless onboarding experience via a familiar Web2 sign-on method to generate non-custodial wallets in the background (e.g Google auth).
OrbisDB x Lit Start-up highlights
Index Network - Contextual privacy for discovery
Index Network is a protocol for discovery, changing how users find information, connect with people, and explore the web. Leveraging Web3 and AI, Index functions as a composable vector database where autonomous agents collaborate to deliver personalized and relevant information.
Index introduces a network of indexes for discovery by decentralizing the process. They are owned by individuals, companies, and organizations—where each index can be composed and customized to suit specific needs.
This allows a network of autonomous agents to compete for user relevance, ensuring that the discovery experience remains dynamic and adaptable.
How Index Network leverages Lit and OrbisDB:
Index enables storing vector embeddings and indexed data on a decentralized graph, supported by OrbisDB and Ceramic Network, allowing autonomous agents to generate and search these embeddings. Users interact through natural language queries for personalized responses or subscribe to contexts, triggering agents on updates, all within a decentralized, privacy-focused environment thanks to all solutions from Lit Protocol.
Plurality - Smart Profiles with private data
Plurality Network is an L3 that unifies data and liquidity across the web and enables wallet and chain abstraction through interoperable Smart Profiles. Users can create their profiles once and then use them on any platform on the Internet.
Plurality wants to replace the unit of interaction from a "wallet" to a "profile" and enable personalized experiences in the decentralized digital landscape.
How Plurality leverages Lit and OrbisDB:
Behind the scenes, each profile is connected to a wallet address that gets generated through the user's email or socials using Programmable Key Pairs. The data in the profile is aggregated from various web2 and web3 sources and then get encrypted using access control conditions and ultimately stored in DID-based streams using OrbisDB in a privacy-preserving way.
Bonny - Secure and Rewarding Private Data Sharing
Bonny is a platform that rewards users for uploading and sharing their personal spending habits. By supporting receipt uploads from physical purchases, Bonny compensates users with crypto tokens whenever their anonymized data is shared with companies and data brokers.
How Bonny Utilizes Lit Protocol:
- Encryption and Access Control: Bonny uses Lit Protocol for robust encryption and access control management, ensuring that only permitted parties can access user data.
By integrating Lit Protocol, Bonny enhances data security and user privacy while providing a seamless and rewarding experience for its users.
Getting Started with Lit x OrbisDB
Lit x OrbisDB Get Started Template
Quickly get started on how to use LIT Protocol to encrypt and decrypt data based on onchain condition logic while storing on OrbisDB, built on the Ceramic Network.
- Example Guide: https://developer.litprotocol.com/integrations/storage/orbis-example
- Code: https://github.com/ceramicstudio/orbisdb-lit-example
Learn more about Lit
Visit the Lit developer docs to learn more about Lit and to get started as a builder today.
Explore the Lit SDK
Set up the Lit SDK in your project by following the installation guide. This will provide you with the tools needed to interact with the Lit network and implement its features.
Get started on OrbisDB
Orbis offers a fast onboarding with a free (for a limited time) Hosted Studio managed by Orbis. This means you don’t have to worry about any of the backend requirements - just set up your environment via our UI and get started with decentralized data. Register here to get early access of OrbisDB Studio.
Install the OrbisDB SDK
Our SDK is a client-side complement to the OrbisDB Dashboard. We are offering a simple query builder that abstracts away complexity by exposing familiar data manipulation methods (INSERT, UPDATE, SELECT).
Learn more about OrbisDB
Visit our full documentation to access more information about our solution and SDK references. We also have a lot of great video content to guide you through