Sagat is a full-stack application for managing Sui 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: Sui Network integration via @mysten/sui
- Docs site (
/docs): Fumadocs + Next.js, run withbun run dev:docs - Design notes (
/design): design documents for upcoming work
main carries the latest version. The previous frontend lives on the
sagat-legacy branch during the alpha, and changes to it go as PRs against
that branch. CI runs that branch's e2e suite against the API of every change
to main, so an API change that breaks it fails CI.
You can run, from the root of the repository:
bun run devThis will build the SDK and spin up the frontend and the API. They are all in "watch" mode, so all changes would reflect as you are developing.
app/test: unit tests (cd app && bun run test).sdk/test: unit tests for the SDK (cd sdk && bun run test).api/test: API tests against a local Sui network (seeapi/README.md).e2e: Playwright tests that drive the app in a browser against the API and a local Sui network (seee2e/README.md, or runbun run test:ui-e2e).