This repository contains a simple example of how to save attestations generated using the Ethereum Attestation Service to the Ceramic Network using ComposeDB.
- Install your dependencies:
npm install
- Generate your admin seed, admin did, and ComposeDB configuration file:
npm run generate
- Create a .env file and enter the three required environment variables outlined in .env.example
cp .env.example .env
You will need an API key from Alchemy. You can also create a separate seed for your AUTHOR_KEY
value by running the following:
npm run seed
- Run the application (make sure you are using node version 20):
npm run dev
To learn more about Ceramic please visit the following links
- Ethereum Attestation Service - Details on how to define attestation schemas and create on/off-chain attestations!
- Ceramic Documentation - Learn more about the Ceramic Ecosystem.
- ComposeDB - Details on how to use and develop with ComposeDB!