defiswaplend
v1.0.2
Published
A DeFi smart contract for token swapping, lending, and liquidity pools
Downloads
25
Maintainers
Readme
DeFiSwapLend
A DeFi application for token swapping, lending, and liquidity pools. This is an open-source project built with Solidity and Hardhat, deployed on the Sepolia testnet.
Overview
DeFiSwapLend is a decentralized finance (DeFi) smart contract that enables:
- Token Swapping: Swap tokens with a simplified 1:1 ratio (for demo purposes).
- Lending: Borrow and repay tokens with a fixed 5% interest rate.
- Liquidity Pools: Add liquidity to pools to support swapping and lending.
The project is designed to be open-source, publicly available on GitHub, and compatible with the Tea Protocol for OSS incentivization.
Installation
To set up the project locally, follow these steps:
# Clone the repository
git clone https://github.com/Ngoxuansuu/DeFiSwapLend.git
cd DeFiSwapLend
# Install dependencies
npm install
## Installation via npm
```bash
npm install -g defiswaplend