Sagat is a full-stack application for managing IOTA blockchain multisig wallets, built with a Bun/TypeScript API backend and React frontend.
- Backend API (
/api): Bun + Hono + PostgreSQL + Drizzle ORM - Frontend (
/app): React + Vite + TypeScript + Tailwind CSS - Database: PostgreSQL with Drizzle ORM migrations
- Blockchain: IOTA Network integration via @iota/iota-sdk
First create a .env file /api/.env based on the .env.example file.
cp api/.env.test api/.env
Start postgres locally using Docker:
docker compose up postgres -dInstall dependencies:
bun installThe first time run the migrations to create the database schema:
(cd api && bun run db:migrate)Then build the SDK and spin up the frontend and API:
bun run devThey are all in "watch" mode, so all changes would reflect as you are developing.