Axis is a decentralized protocol for creating, managing, and investing in on-chain index funds (ETFs) on Solana.
This repository hosts the ecosystem's codebase, primarily focusing on the frontend interface (axis-agent) where users can build and deploy their asset strategies.
axis-agent(Main): The web dashboard built with React & Vite. This is the primary interface for users to connect wallets, build strategies, and manage ETFs.axis-api: The backend service powering data indexing and off-chain logic, running on Cloudflare Workers.axis-mobile: Repository for the future Android application (React Native / Expo).kagemusha-program: The underlying Solana smart contracts (Anchor).
- Strategy Builder: A visual interface to construct weighted baskets of assets (SPL Tokens, Stocks, Prediction Markets).
- One-Click Deployment: Interact directly with Solana to mint ETF tokens.
- Dashboard: Real-time tracking of portfolio performance, TVL, and asset allocation.
- Discovery: Browse and invest in top-performing strategies.
- Frontend: React, TypeScript, Vite, Tailwind CSS
- Backend: Cloudflare Workers, TypeScript
- Mobile: React Native, Expo (Future Android App)
- Blockchain: Solana Web3.js, Anchor Framework
- Tools: pnpm, Prettier, ESLint
- Clone and Install
git clone <repo-url> cd axis-mvp pnpm install
- Run the Frontend (
axis-agent) The frontend is the main entry point for development.
cd axis-agent
pnpm dev
Access the dashboard at http://localhost:5173.
3. (Optional) Run the Backend (axis-api)
Emulate the Cloudflare Workers environment locally.
cd axis-api
pnpm dev
This project uses Prettier and ESLint to maintain code quality.
- Format Code:
Prettier is configured. Run the following command in the
axis-agentdirectory to format your code:
pnpm format
- Lint Code:
pnpm lint
Built with ❤️ on Solana.