Inspiration
A true DeFi protocol requires true transaction data stored on decentralized storage. Filecoin's EVM is the best public chain that meets both standards. Filecoin, with EVM, will eventually be a better ecosystem than other EVM chains where on chain data capacity is very limited.
What it does
-On-chain lending at the current stage; -SFTs distribution platform, where different DeFi products are launched and traded.
How we built it
We use ERC3525 as our token standard, and develop a series of other components around it, such as product center, recommendation relationship, recommendation center, redemption fund pool, etc., to form our lending contract system. And, of course, dapp is a must.
Challenges we ran into
- The standard implementation of ERC3525 has a large amount of code, and it cannot be directly extended because the contract size limit can easily be exceeded. We have spent a lot of effort to abstract and encapsulate each functional module to achieve better readability and scalability, and at the same time we have to consider the issue of gas costs.
- To use a contract as a beneficial address, we don't know if anyone has done this before, and it's cumbersome to test.
- Filecoin explorer's support for EVM is not as perfect as etherscan,make it difficult for us to locate errors.
Accomplishments that we're proud of
We innovatively uses ERC3525 as the underlying technology to bring more usability and flexibility to decentralized lending.
What we learned
- ERC3525 is more suitable for financial scenarios than ERC20/ERC721, making things simpler.
- Allows Solidity smart contracts to seamlessly invoke Filecoin's built-in actors is an exciting feature
What's next for LongFIL
- More contracts and more decentralized
- SFTs issuing for lending to provide Node's pledge tokens;
- SFT crypto fund units distribution, certified Token Funds issuing their financial products for investors to choose from;
- Options and Futures SFT products.
Built With
- dapp
- erc3525
- erc721
- fevm
- hardhat
- mysql
- nginx
- node.js
- solidity
- typescript
- web3
Log in or sign up for Devpost to join the conversation.