Quickstart
StellarRent: Redefining Rentals with Blockchain π
STELLARRENT: π» Developer Guide
π Quickstart for Developers
This guide is your all-in-one resource for integrating, deploying, and extending StellarRent. Whether you're a developer, a product team, or setting up an AI agent, this page provides everything you need.
Hello! This page is optimized for export and upload to your favorite AI agent. You can also use ours in the search bar! π
π What is StellarRent?
StellarRent is a decentralized property rental platform built on the Stellar blockchain. It enables secure and intermediary-free listing, renting, and management of properties using smart contracts to:
List properties as an owner π
Rent properties as a tenant π
Confirm rentals as an owner β
Make secure payments with blockchain technology πΈ
π§ͺ Step-by-Step
1. Install Bun
Bun is the JavaScript runtime used in this project. Visit bun.sh and run:
Unix:
Windows:
Verify the installation with:
You should see 1.1.29 or higher.
2. Clone the Repository
Clone the StellarRent repository and navigate to the project folder:
3. Install Dependencies
Install all necessary dependencies by running:
4. Set Up Freighter
Freighter is the digital wallet used to interact with the Stellar blockchain:
Download Freighter from freighter.app π
Create a new wallet and securely save your recovery phrase π
Obtain test funds at laboratory.stellar.org for the Stellar testnet π°
5. Configure Environment Variables
Set up environment variables for the frontend and backend:
Frontend (
apps/web/.env.local):Backend (
apps/backend/.env):
Ensure you replace your_supabase_url, your_supabase_anon_key, and your_jwt_secret with the appropriate values for your project.
6. Start the Application
You can start the application in two ways:
With Docker:
Local Development (requires two terminals):
Terminal 1 (Backend):
Terminal 2 (Frontend):
π§© Monorepo Structure
StellarRent is organized as a monorepo with the following main structure:
apps/web: Frontend developed with Next.js π
apps/backend: Backend built with Bun and Express βοΈ
apps/stellar-contracts: Smart contracts implemented with Soroban π
With these steps, you're ready to start working with StellarRent! π
Last updated