Rain.fi is a peer-to-peer lending protocol built on Solana, supporting both tokens and NFTs as collateral. Its core mechanism is time-based liquidation: borrowers must repay principal and interest by the agreed deadline, and collateral is liquidated only upon default, not triggered by price volatility. Users can borrow, lend, or create custom lending pools (Lite/Pro modes) with configurable interest rates, LTV, and exposure. It also offers Margin Swap (leveraged exchange) and BNPL (buy now, pay later) features, plus white-label integration. The protocol is non-custodial; transactions are signed via wallet.