Practical overview
When it fits
Use the repository when you need the Solidity implementation behind Raft’s lending operations, rather than a user-facing interface for taking out a loan.
Who it is for
- DeFi developers examining or integrating Raft’s lending contracts.
- Researchers studying Solidity implementations of collateral-backed stablecoin lending.
Documented uses
- Inspect contract logic for managing borrower positions and R debt.
- Follow how borrowing, repayment, liquidation and redemption are represented in the protocol.
- Review the listed price-feed and oracle integration components.
- Install dependencies and invoke the repository’s documented test and static-analysis commands.
Requirements & limits
The repository is public and identified as open source. Its README lists Solidity, Foundry, Node.js, Yarn and Slither as prerequisites for building and testing.
- The repository is Solidity smart-contract code, not a borrowing interface.
- R is described as an Ethereum USD stablecoin backed by stETH.
- PositionManager is the documented entry point for position and debt operations.
- The README describes a primary price oracle with a secondary fallback and lists Chainlink and Tellor wstETH oracle contracts.
Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.
Set up the contracts for local testing
Install the repository dependencies and run the documented Foundry test command.
Before you start
- Solidity
- Foundry
- Node.js
- Yarn
- Slither
Steps
Clone the repository with its submodules.
Set up Foundry.
Install dependencies with
yarn install.Run the test command
forge test.
Expected outcome
The project dependencies are installed and the repository’s documented test command is run.
Guide limitations
- The instructions do not provide a deployment workflow.
- The documented commands are repository instructions, not a report of execution or test results.
Sources & review
Source record details
- Source availability
- Active
- Sources checked
- 17 October 2026
- Original website title
- raft-fi/contracts · Official homepage title · retained in its source language

