This is a rough example using LIT Protocol to encrypt and decrypt data based on on-chain condition logic while storing on ComposeDB.
- Install your dependencies:
Install your dependencies:
npm install
- Generate your admin seed, admin did, and ComposeDB configuration file:
npm run generate
- Finally, run your application in a new terminal (first ensure you are running node v16 in your terminal):
npm run dev
- Open http://localhost:3000 with your browser to see the result and generate issuer instances
- Open http://localhost:3000/powerup with your browser to generate PowerUP instances
- Open http://localhost:3000/query to test some pre-written queries
To learn more about Ceramic please visit the following links
- Ceramic Documentation - Learn more about the Ceramic Ecosystem.
- ComposeDB - Details on how to use and develop with ComposeDB!
You can check out Create Ceramic App repo and provide us with your feedback or contributions!