Open DJED - A transparent, community-driven interface for the DJED stablecoin protocol.
Open DJED is a transparent, community-driven web application for interacting with the DJED algorithmic stablecoin protocol on Cardano—built without the barriers of proprietary code.
Developed by Artifi Labs, Open DJED is the result of a deep reverse-engineering effort of the original DJED application. We've recreated the user interface and interaction logic while maintaining full protocol compatibility—then made everything open source for the entire Cardano ecosystem to explore, audit, and improve.
- Protocol-compatible – Same overcollateralized logic that powers DJED.
- Fully open source – All code is auditable, forkable, and community-owned.
- Community-first – Built for and by the Cardano community.
- Enhanced reliability – Alternative access during COTI app downtime or issues.
- Global accessibility – Available to users worldwide without geographic restrictions.
- Transparent fees – Follows COTI's fee structure transparently, no surcharges.
- Lower network fees – Optimized contracts reduce fees by ~0.1 ADA.
We built Open DJED to address critical accessibility challenges with the original COTI DJED application. Recurring downtime, system issues, and geographic restrictions created barriers for legitimate users seeking to interact with the DJED protocol. Open DJED provides an alternative interface that eliminates these obstacles while maintaining full protocol compatibility.
Artifi Labs builds open-source, permissionless tools for the Cardano ecosystem. Open DJED is our first major release—and we're only just getting started!
Join us in reshaping DeFi on Cardano—openly, transparently, and together.
- Bun — Fast JavaScript runtime and package manager (install)
- Docker and Docker Compose — For running PostgreSQL locally
Clone the repository:
git clone https://github.com/artifi-labs/open-djed
cd open-djedInstall dependencies using Bun:
bun installCreate .env files for each package based on the provided examples.
Env File — Root environment for Docker Compose (PostgreSQL)
cp .env.example .envEnv File — Web app configuration
cp packages/app/.env.example packages/app/.envEnv File — API server configuration
cp packages/api/.env.example packages/api/.envEnv File — Database configuration
cp packages/db/.env.example packages/db/.envEnv File — Documentation (optional)
cp packages/docs/.env.example packages/docs/.envStart the PostgreSQL database using Docker Compose:
docker compose up -dThis uses variables from the root .env (copied from .env.example) and starts PostgreSQL on localhost:5432.
Run database migrations:
cd packages/db
bun run migrateCheck the Database README for more details on setup and syncing data.
Web App (React/Next.js):
bun run --filter @open-djed/app devAPI Server (Hono):
bun run --filter @open-djed/api devDocumentation (Docusaurus):
bun run --filter @open-djed/docs startRun all tests using vitest from the repo root:
bun run test