Monorepo for Hakata Finance's open‑source perpetual‑trading protocol on Solana.
Hakata Perpetuals is Core Perpetual Futures Engine for Real-World Asset Trading on Solana
Hakata Finance is built on the proven foundation of solana-labs/perpetuals, Solana's reference implementation for perpetual futures trading. We've extended this battle-tested infrastructure specifically for Real-World Asset (RWA) trading.
Key Extensions:
- RWA oracle integration with traditional market hours handling
- Custom synthetic asset mechanisms for stocks/forex/commodities
- Enhanced risk management for TradFi asset volatility patterns
- Simplified UX layer optimized for cross-ecosystem trading
This approach allows us to focus innovation on the RWA layer while leveraging Solana's most robust perpetuals infrastructure.
Hakata Finance is deployed on Solana Devnet.
The following programs are deployed:
| Program | Address |
|---|---|
| Registry | CkawHJw5TVjUt1ggAZtuo3hgHBMptJHtxXk6A6nY5RWg |
hakata-perps/
├─ packages/
│ ├─ core/ # Anchor program(s) and on-chain Solana code
│ │ └─ README.md # Details about core implementation
│ └─ ui/ # Next.js front-end application
│ └─ README.md # UI development documentation
└─ README.md # This file
- Solana CLI tools
- Rust (latest stable version)
- Anchor Framework
- Node.js (for UI development)
-
Clone the repository
git clone https://github.com/hakata-finance/hakata-perps cd hakata-perps -
Install dependencies
# For core development cd packages/core npm install # For UI development cd packages/ui npm install
-
See the individual READMEs in each package for specific setup instructions:
cd packages/ui
npm run devThen open http://localhost:3000 in your browser.
cd packages/core
npm testWe welcome contributions to Hakata Finance's perpetual trading protocol!
- Fork the repository and create a feature branch
- Keep PRs focused on a single issue or feature
- Include tests for any new functionality
- Ensure your code adheres to the project's style guidelines
- Submit a pull request with a clear description of the changes
For major changes or architectural decisions, please open an issue first to discuss.
This project is licensed under the Apache License 2.0.
If you discover a security vulnerability in this project, please report it privately to admin@hakata.fi instead of opening a public issue.
This project builds upon solana-labs/perpetuals under the Apache 2.0 License.