Website | App | Documentation
🔄 A DeFi protocol that optimizes borrowing costs by allowing users to seamlessly move debt positions between lending platforms like Aave, Compound, and Venus across multiple chains including Arbitrum and BNB Chain.
⚙️ Built using NextJS, RainbowKit, Hardhat, Wagmi, Viem, and Typescript.
- 💰 Interest Rate Optimization: Move your debt to platforms with lower interest rates.
- 🔄 One-Click Transfers: Seamlessly transfer debt between lending protocols with a single transaction.
- 📊 Real-time Comparisons: Instantly see potential savings by comparing rates between protocols.
- 🧮 Automatic Calculations: Built-in calculator shows exactly how much you can save yearly.
- 🔐 Secure & Non-custodial: Your assets always remain in your control.
- 🌉 Cross-Chain Support: Optimize debt across different blockchains.
Kapan Finance enables DeFi users to optimize their borrowing costs by easily moving debt positions between lending protocols. By comparing interest rates and facilitating seamless transfers, users can save significantly on their annual borrowing costs without complex manual processes.
Kapan currently supports the following lending protocols:
- Aave V3 (Arbitrum)
- Compound V3 (Arbitrum)
- Venus (Arbitrum)
- Connect Wallet: Connect your Web3 wallet to view your current debt positions and potential savings opportunities.
- Choose Position: Select which debt position to optimize and instantly see available interest rate savings.
- Move Debt: Execute a single transaction to move your debt to the protocol with better rates.
- Protocol Comparison: Real-time comparison of interest rates between Aave, Compound, and Venus.
- Savings Calculation: Automatic calculation of potential annual savings based on your debt amount.
- One-Click Debt Transfers: Seamlessly move your debt between protocols with a single transaction.
- User-Friendly Interface: Clean, intuitive interface that makes DeFi optimization accessible to everyone.
- Multi-Asset Support: Support for various assets like USDC, ETH, and more.
- Cross-Chain Integration: Support for multiple blockchains (Arbitrum, BNB Chain).
Before you begin, you need to install the following tools:
- Node (>= v18.18)
- Yarn (Berry 3.2.3)
- Git
To get started with Kapan Finance development, follow the steps below:
- Install dependencies:
-``` yarn install
> [!IMPORTANT]
> This workspace is managed with Yarn Berry's `node-modules` linker. Using `npm` or committing `package-lock.json` will cause Next.js
> to patch the lockfile on every build, dramatically slowing down compilation. Always install dependencies with `yarn` and delete
> any generated `package-lock.json` files before running builds.
2. Run a local network:
yarn chain
3. Deploy the contracts:
yarn deploy
4. Start the NextJS app:
yarn start
Visit your app on: `http://localhost:3000`
To create an optimized production build:
yarn build
## Contributing
We welcome contributions to Kapan Finance!
Please see [CONTRIBUTING.MD](CONTRIBUTING.md) for more information and guidelines for contributing to Kapan Finance.

