StarkBoost
Under-collateralized lending protocol using verifiable credentials to give a credit score for opening dynamic credit line and give more voting power for small and loyal users on Starknet.
Screenshots



Problem Statement
Star User is the Only Dust of users. This under-collateralized lending protocol leverages the on-chain reputation on Starknet to give a credit score and open a dynamic credit line to small and loyal users, allowing them to borrow $STRK, encourage active participation in governance by wrapping $STRK, and improve activity on Starknet thanks to their actions.We want to continue this project after the hackathon and work with the Starknet Foundation and open-source contributors from Only Dust.CURRENT STATEFollowing the airdrop, many users left the Starknet ecosystem (lack of user retention and attraction)Not too many users are currently governance delegators on Starknet (lack of decentralization)Not too many proposals from the community (lack of taking initiative)On-chain user reputation has not been leveraged by the Starknet ecosystem (lack of recognition)CORE PROPERTIES TO BOOST VOTING POWER FOR SMALL/LOYAL USERSThe protocol targets about 30% of the best small and loyal users on Starknet, without including whales. As with any monetary system, it's all about trust.1 - Credit Scoring The credit score helps to check the eligible users to receive a credit line and define 3 types of eligible users to borrow between 1,000 to 5,000 STRK with a credit score between 65% to 100%. We are using different elements to track this credit score (/100), including a few variables (from X% to X%) on each element like the seniority and activity (wallet activity, social connections...)2 - Dynamic Credit Line The liquidity is coming from Starknet incentives for users. The credit score opens a dynamic credit line, where this one can up or down following continuous actions on Starknet (governance activity, refer good people, payback credibility..)3 - Safeguarding System At first, the user base will be small, but then it will grow virtuously. We will be able to see the best users, not in terms of amount, but only because the user is loyal and manages to build a reliable user community around him.When you give access to 2 people from your circle to the protocol as a safeguard, you can earn points by referring someone good for Starknet as a user, or get a malus when one of your safeguards has bad behavior or it's a bot, etc. We are using game theory and the right to open contests to judge people on the protocol and build a strong community.4 - Innovative Loan System (smart contract workflow) 1️⃣ According to their credit score and credit line (X), the user sends X $STRK and defines how much he wants to put in vSTRK (minimum 40%)2️⃣ According to the amount put in vSTRK, the smart contract asks a Y percentage of X $STRK, that is superior of the amount sent by the user (to boost the voting power)3️⃣ The foundation sends Y $STRK to the smart-contract4️⃣ & 5️⃣ The smart contract wraps in vSTRK the X $STRK from the user and the 40% minimum from the foundation to boost voting power6️⃣ The smart contract locks and delegates Z $vSTRK7️⃣ The remains Y $STRK from the foundation is sent to the user to increase on-chain activity5 - Payback System (2 options)Incentive to payback: X% bonus on the new credit line (defined by the Foundation)Deadline: waiting for a proposal and 1 month to repayRepayment from the user's wallet:The user reimburses the amount lent by the foundation.The delegated vSTRK is undelegated and sent back to the user. Undelegating the VSTRK:The delegated vSTRK are undelegated.The loan is reimbursed to the foundation and the remaining amount is returned to the user.`ROADMAPNotification system to prevent risk when a user is close to the deadlineGet some data from Starknet users to improve the credit score algorithmDetect whales and bot activity to avoid a big amount split in different wallets“How to improve your credit score” with a quest systemCreate a community note to open a contest to exclude a user with bad behaviorImplement Tokenbound AccountsA decentralized voting pool system for the governanceCreate an API for protocols to prevent systemic risk by sharing the user credit score with them
Solution
FRONTENDScaffold-Stark open-source frontend design Import Starknet components through Rainbowkit (like Argent wallet)`BACKENDWe have created several scripts using the API for the various data to be fetched to calculate the credit score.SMART CONTRACT FUNCTIONSWe are using the functions that already exist in the STRK token contract that swap STRK to vSTRK, and delegate it at the same time.1️⃣ GET THE LOANGet_token_from_fondation: - Requests the desired amount of STRK from the foundation's pool.Wrapp_token: - Wraps the STRK received from the user and the foundation.Delegate: - Immediately delegates the wrapped STRK to the user who initiated the transaction.Send_left_token: - Sends 60% or less of the foundation's STRK to the user.2️⃣ PAYBACK THE LOANUndelegate_token: - Remove the delegation to the user.UnWrapp_token: - UnWrapp vSTRK to STRK.Repay_user: - Send back the amount of the loan to the foundation + Send back the token to the user.
Hackathon
ETHGlobal Singapore
2024
Contributors
- 0xquantum3labs
100 contributions
- jrcarlos2000
83 contributions
- gianalarcon
78 contributions
- smithii-tech
29 contributions
- edulanasca
25 contributions
- github-actions[bot]
22 contributions
- GabrielaDelPilarR
11 contributions
- machuwey
11 contributions
- matveytest
7 contributions
- Nadai2010
7 contributions
- frgpy
5 contributions
- metalboyrick
4 contributions
- oceanlvr
3 contributions
- karlavasquez8
2 contributions
- Jemiiah
2 contributions
- Ayoazeez26
2 contributions
- danielcdz
1 contributions
- egeaybars123
1 contributions
- ikemHood
1 contributions
- josephchimebuka
1 contributions
- mrhouzlane
1 contributions
- Marchand-Nicolas
1 contributions
- Ugo-X
1 contributions
- raizo07
1 contributions
- avimak
1 contributions
- goofylfg
1 contributions
- janijesse
1 contributions