Shelterflex is a Rent Now, Pay Later (RNPL) platform. Tenants secure properties with a partial deposit and repay the balance in installments. Landlords list directly and receive guaranteed or partially guaranteed payments. Whistleblowers report fraudulent listings and earn on-chain rewards, acting as a decentralized trust and quality-assurance layer that also drives organic platform adoption.
This repository is a monorepo with three projects.
frontend/- Next.js web app (UI for tenants, landlords, and whistleblowers)backend/- Express API (business logic, deal management, earnings API, Soroban RPC integration)contracts/- Soroban smart contracts (Rust): payments, escrow, staking, whistleblower rewardsdocs/- Contributor and product documentation
You do not need to run all services to contribute.
- Work inside
frontend/ - Run:
npm install
npm run dev- Work inside
backend/ - Run:
npm install
cp .env.example .env
npm run dev- Work inside
contracts/ - Run:
cargo test
stellar contract build- Frontend UI components:
frontend/components/ - Frontend route pages:
frontend/app/ - Backend routes:
backend/src/(keep Soroban code underbackend/src/soroban/) - Contracts:
contracts/<contract_name>/src/lib.rs
- Root overview:
README.md - Contribution guide:
CONTRIBUTING.md - Issue ideas:
docs/ISSUES_CATALOG.md