FilSwap

FilSwap

A decentralized exchange and Loan system for DeFi products, with secure storage deals validated on FVM. Trade, swap, manage and borrow with ease!

This project has been flagged for recycling pre-existing work

The problem FilSwap solves

FilSwap is a decentralized finance (DeFi) platform; it is a Uniswap v2 port that provides a suite of financial services, including swapping, decentralized exchange, liquidity management, and loans. These services are powered by the FVM, a next-generation virtual machine that enables smart contracts to be validated by storage deals. This provides a secure and efficient way to access financial services without relying on centralized intermediaries. With FilSwap, users have full control over their assets and can confidently participate in the DeFi ecosystem. The platform's decentralized exchange allows for fast, low-cost trades, while the liquidity management system ensures that there are always enough assets available for swaps.
The loan feature provides quick and flexible financing, while the swapping feature allows for seamless asset exchange. All transactions on FilSwap are conducted through smart contracts, ensuring transparency, security, and automation. The loan feature in FilSwap is a decentralized finance (DeFi) solution that enables users to take out loans using their storage space as collateral. The loans are validated and secured by storage deals on the Filecoin Virtual Machine (FVM). This allows users to access quick and easy loans without going through the traditional banking system. The loans can be used for various purposes, such as paying bills, making investments, or covering hardware costs. The loan feature in FilSwap provides a transparent and secure way for users to access the funds they need while also profitably utilizing their storage space.

Work done in hackathon: https://github.com/optimus789/filswap/commit/f3c2266b747855761ddf4431d930f747b36b2c53
the Borrow and Payemi functionality was done in the hackathon and it is the main part of the project, which uses FVM's storage deals to lend amounts to storage providers actor ids also Payemi functionality which is responsible for the certain actor to pay back loans to increase credit score.

Challenges I ran into

The FilSwap project uses DeFi to provide decentralized exchange and liquidity management services. It also uses storage deals on FVM to secure the loan process.
I faced an issue while figuring out the eth wallet address to actorId conversion. As Zondax Filecoin solidity API didn't support at the time. But it will be an easy fix where the registered Metamask address which will borrow the loan should match the actorID he/she would be entering into the platform.
The technologies used in the project include Solidity for smart contract development and React for front-end development.

Additionally, the use of React and Node.js allowed for a fast and smooth user experience. The result was a well-rounded, efficient, and secure platform for loan services in the DeFi space.

Discussion