Darklake is a decentralized exchange (DEX) protocol built on the Solana blockchain, inspired by Uniswap v3. It aims to provide efficient and flexible liquidity provision with concentrated liquidity and confidential swaps.
Further information can be found in the website.
This project is my Turbin3 Capstone project.
Devnet deployment tx: https://solana.fm/tx/UizYmmM6vazxs9si7XWBxP864SRrdJpXYE9H7bs9jHmUFVJu6ymJY7F2NUJgXQeMXX7DntdWAJDbBAwehyMMyAz?cluster=devnet-alpha
- Concentrated liquidity for capital efficiency
- Confidential swaps using zero-knowledge proofs
- Built on Solana for high speed and low transaction costs
- Node.js v18.18.0 or higher
- Rust v1.77.2 or higher
- Anchor CLI 0.30.0 or higher
- Solana CLI 1.18.9 or higher
The anchor
directory contains the Solana program written in Rust using the Anchor framework.
- Sync program ID:
npm run anchor keys sync
- Build the program:
npm run anchor-build
- Start local test validator:
npm run anchor-localnet
- Run tests:
npm run anchor-test
- Deploy to Devnet:
npm run anchor deploy --provider.cluster devnet
The web
directory contains a React app that interacts with the Solana program using the Anchor-generated client.
- Start the web app:
npm run dev
- Build the web app:
npm run build
We welcome contributions to Darklake! Please read our contributing guidelines before submitting pull requests.
This project is licensed under the MIT License.
For questions or support, please open an issue on the GitHub repository or contact the maintainers directly.