Skip to content

Just like conventional peer–to–peer lending and borrowing platforms, Specter DeFi facilitates its users to lend their Near coins to others and borrow it from the protocol pool. In exchange, the lender gets interest payments. Specter DeFi operates without any middlemen, hence, the financial rewards are sent straight away to the users. The best th…

Notifications You must be signed in to change notification settings

Code-Decoders/specter-defi-near

Repository files navigation

https://specter-defi.netlify.app/

WARNING: This project is for testing purposes only, this is not by any means is a production-level code. For our future plans please visit our Future Roadmap.

Checkout Specter DeFi by visiting:

Special instructions: Please make sure you have a Near Testnet Account


Project Overview:

Just like conventional peer–to–peer lending and borrowing platforms, Specter DeFi facilitates its users to lend their Near coins to others and borrow it from the protocol pool. In exchange, the lender gets interest payments. Specter DeFi operates without any middlemen, hence, the financial rewards are sent straight away to the users. The best thing about using Specter DeFi is that the users don’t ever need to disclose their identity, and still borrow or lend Near coins.

For more details please check out the complete walkthrough here,

Specter.Defi.Near.mp4

How does Specter DeFi work?

  1. Lending: The lender sends a lending request to the smart contract and then those funds get stored in the blockchain with the contract. When the lender wishes to withdraw his funds, he can send a withdrawal request to the contract and receive the funds with the interest rewards.
  2. Borrowing: The borrowers send a borrow request to the smart contract and those funds are transferred to the user in return. The user can repay the funds by sending a repay request, but this time the user would also have to provide the payment with the interest added. Note: Since this is still an in-development project, we do not take any collateral, when providing funds to the borrow, this would be added in the future.

Tech Stack

  • React JS (Frontend)
  • near-sdk-as (Smart Contract)
  • Near Account (Signing Transactions)
  • Figma (UI Design)

Steps to run the project

After downloading and opening code in your IDE,

Step 0:

npm install --global near-cli

Step 1:

Create a testnet-account here.

Step 3:

run npm run dev in the terminal.


Future Roadmap

We Planning to add the following features in the future,

  • Dynamic APY calculations with respect to demand and supply of NEAR in the market.
  • Network token for lenders.
  • Collateral is taken from the borrowers to ensure the protection of lenders.

That's all folks!! have a good day! ☕

About

Just like conventional peer–to–peer lending and borrowing platforms, Specter DeFi facilitates its users to lend their Near coins to others and borrow it from the protocol pool. In exchange, the lender gets interest payments. Specter DeFi operates without any middlemen, hence, the financial rewards are sent straight away to the users. The best th…

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published