Swapify is the product name for this codebase. It is a Solana trading stack built around fast swaps, automated strategies, and the services needed to run them reliably.
This repository holds the main pieces of the project in one place: the frontend, the backend, the on-chain program, and the supporting services around it.
frontend/contains the Next.js app for the landing pages, dashboard, wallet flows, and trading experience.OrderSwap Backend/contains the NestJS API, authentication flow, strategy management, WebSocket updates, and database layer.program/contains the Solana program workspace, along with the CLI, keeper bot, and indexer.docs/contains the documentation source files.- The root markdown files such as
getting-started.mdandcore-features.mdare the product docs.
- The frontend handles the user-facing app and wallet interactions.
- The backend handles auth, persistence, orchestration, and real-time updates.
- The Solana program holds the core on-chain logic.
- The keeper watches for valid execution conditions and submits actions when needed.
- The indexer listens for on-chain events and pushes useful data into Supabase for easier querying.
- Frontend: Next.js, React, TypeScript, Tailwind, Zustand, Solana wallet tooling
- Backend: NestJS, Prisma, PostgreSQL, Socket.IO, Jupiter APIs
- On-chain and services: Anchor, Solana Web3.js, TypeScript, Supabase
.
├── README.md
├── frontend/ # Swapify web app
├── OrderSwap Backend/ # API and execution backend
├── program/ # Solana program workspace
│ ├── app/ # CLI and TypeScript client
│ ├── indexer/ # Event indexer
│ ├── keeper/ # Automated execution bot
│ ├── programs/ # Anchor program source
│ └── scripts/ # Development scripts
├── docs/ # Documentation source
├── getting-started.md
├── core-features.md
├── step-by-step-tutorials.md
├── tokenomics-and-launch.md
├── security-and-infrastructure.md
├── roadmap.md
└── faq-and-contact.md
You do not need every part running at the same time unless you are working on full end-to-end flows. Most day-to-day work starts with the frontend or backend.
cd frontend
npm install
cp .env.example .env.local
npm run devThe frontend runs on http://localhost:3000 by default.
cd "OrderSwap Backend"
npm install
cp .env.example .env
npm run prisma:generate
npm run prisma:migrate
npm run start:devThe backend runs on http://localhost:3001 by default.
Use the program/ directory when you need the protocol-side tooling:
program/app/for the CLI and TypeScript clientprogram/indexer/for event syncingprogram/keeper/for automated execution
Each of those folders has its own README.md with setup details.
getting-started.mdfor the first-time setup flowcore-features.mdfor the main product featuresstep-by-step-tutorials.mdfor walkthroughstokenomics-and-launch.mdfor token detailssecurity-and-infrastructure.mdfor architecture and safety notesroadmap.mdfor planned milestonesfaq-and-contact.mdfor common questions
The product is now called Swapify. Some folder names and internal packages still use older project naming, but this repository is the Swapify codebase.