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