Use Lit Protocol with Irys to securely encrypt and manage your onchain data.
Using Lit Protocol with Irys opens up new opportunities for builders, including:
- Gating access to content
- Storing and securing private DePIN data
- Securely archiving sensitive AI data
- Encrypted content for decentralized social apps
- Decentralized identity verification
- Creating private data marketplaces
- Creating exclusive NFTs
https://docs.irys.xyz/build/d/guides/encrypting-with-lit
This repository includes the following sub-repositories:
-
Node.js: Irys + Lit with Node.js
- Scripts:
lit-only.ts
- Encrypts a string with Lit Protocol and immediately decrypts it.irys-lit.ts
- Encrypts a string with Lit Protocol, stores it on Irys, and then retrieves it.
- Scripts:
-
Next.js: Irys + Lit with Next.js
- Features:
- Wallet connection using RainbowKit.
- Integration of Lit Protocol for data encryption.
- Upload and retrieval of encrypted data using Irys.
- Features:
Each subdirectory includes its own README with setup instructions and usage details.