rjamalijam / Roci-Smart-Contracts-v2

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

License: GPL v3

RociFI protocol (v2)

RociFi is DeFi’s on-chain credit score, under-collateralized and capital-efficient lending protocol on Polygon.

RociFi allows borrowers to take fixed-term fixed-rate stablecoin loans with reduced collateral as low as 75% while giving lenders the possibility to earn interest from depositing their assets into lending pools. 

At the core of the protocol is Non-Fungible Credit Score (NFCS). This is ERC-721 token that prospective borrower mints to see if they are eligible or not for an under collateralised loan. Eligibility is represented in the NFCS score which ranges from 1 (extremely trustworthy) to 10 (not trustworthy) and it is these scores that dictate what loan terms a borrower may take from a pool.

NFCS operates as DeFi’s credit, reputation, and trust credential. To date, 35000 users have minted their NFCS on Polygon. Among protocols that use NFCS to vet online reputation of their users are Cyberconnect and RelationLabs.

Docs: https://www.notion.so/RociFi-Documentation-da586043665a4accac00b647e402a09e
FAQ: https://www.notion.so/rocifi/FAQ-bf0262c75d654b87b030ae276b9ce7ad
Guides: https://www.notion.so/rocifi/Guides-81b5f4c764b94c4bb1f00e2f52c89347

Discord: https://discord.com/invite/dq7cDETKxd
Twitter: https://twitter.com/rocifi
Medium: https://blog.roci.fi/
Telegram: https://t.me/RociFi
Linkedin: https://www.linkedin.com/company/rocifi/

Development installation

First, clone the project repository:

git clone https://github.com/RociFi/Roci-Smart-Contracts-v2.git
cd Roci-Smart-Contracts-v2

Pre-install NodeJS of compatible version. If there is a need to run different NodeJS versions, consider using NVM or similar tool, that is available for your platform.

nvm install
nvm use
node --version
npm --version

Perform local installation:

npm install

Then you should be able to run tests:

# run common tests
npm test

Consider reading HardHat documentation to explore development framework.

IDE and tooling configuration

We highly recommend using Visual Studio Code IDE for development alongside with following extensions:

About

License:MIT License


Languages

Language:TypeScript 56.8%Language:Solidity 43.2%