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.
Special instructions: Please make sure you have a Near Testnet Account
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.
Specter.Defi.Near.mp4
- 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.
- 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.
- React JS (Frontend)
- near-sdk-as (Smart Contract)
- Near Account (Signing Transactions)
- Figma (UI Design)
After downloading and opening code in your IDE,
npm install --global near-cli
Create a testnet-account here.
run npm run dev
in the terminal.
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.