RebelFi Docs
English
English
  • Overview
    • About RebelFi
    • Quick Start Guide
    • Key Concepts
  • RebelFi Business Platform
    • Core Features
    • Payment Features
    • Business Operations
    • DeFi Integration
  • User Guide
    • The RebelFi On-Chain Account
    • On-Chain Account Setup
      • Easy Setup with PayPal
      • Easy Setup with Robinhood
    • Funding Options
    • Deposits and Withdrawals
    • Address Book
    • Business Platform Usage
    • Point of Sale App
      • Setup
  • Utilities
    • Get SOL
  • Support
    • Account and Data Deletion
  • Technical Architecture
    • Platform Overview
    • The Gringotts Smart Contract
    • The RebelFi Connect Protocol (RCP)
Powered by GitBook
On this page
  • RebelFi Architecture Overview
  • Core Components
  • System Interaction Flow
  • Technical Stack
  1. Technical Architecture

Platform Overview

PreviousAccount and Data DeletionNextThe Gringotts Smart Contract

Last updated 2 months ago

RebelFi Architecture Overview

RebelFi is a comprehensive DeFi-powered business banking platform consisting of four integrated components that work together to deliver high-yield banking services and zero-fee payment processing capabilities.

Core Components

1. Mobile POS Application

Our mobile point-of-sale application serves as a "Square for Crypto" solution, allowing merchants to accept cryptocurrency payments in person. The application features:

  • Simple transaction creation interface

  • QR code generation for customer payments

  • Support for any token with automatic conversion

  • Transaction management and history

  • Real-time settlement notifications

Available on both iOS and Android, the mobile POS application connects to our backend API to process transactions and update the merchant's business account.

2. Web Dashboard & Business Banking Interface

Our comprehensive web platform serves as the central command center for businesses, providing:

  • Account dashboard with real-time yield tracking

  • Treasury management tools

  • Invoice creation and management

  • Payment and payout system

  • Customer management

  • Transaction history and analytics

  • Account settings and preferences

The web interface gives businesses complete visibility and control over their finances while showcasing the yield generated from their funds.

3. Backend API

Our secure middleware orchestrates all platform interactions, serving as the bridge between our front-end interfaces and blockchain functionality. The API handles:

  • User authentication and authorization

  • Transaction processing and validation

  • Data management and synchronization

  • Notification services

  • Integration with external services

  • Business logic implementation

  • Security and compliance protocols

The backend API ensures consistent data flow across all platform components while abstracting blockchain complexity from end users.

4. Gringotts Smart Contract

Our custom Solana-based smart contract manages all on-chain operations and forms the foundation of our yield-generating capabilities:

  • Manages business account funds on-chain

  • Interfaces with DeFi protocols via Lulo for yield optimization

  • Handles the settlement of payment transactions

  • Manages treasury operations

  • Executes programmatic financial operations

  • Ensures non-custodial control of funds

The smart contract leverages the speed and efficiency of Solana to provide instant settlement and low-cost transactions.

System Interaction Flow

  1. User Interactions: Business users interact with the platform through either the web dashboard or mobile POS app.

  2. API Processing: All requests are processed through our backend API, which handles authentication, validation, and business logic.

  3. Blockchain Operations: The API communicates with our Gringotts smart contract for on-chain operations, including fund management and yield generation.

  4. DeFi Integration: Gringotts interfaces with various DeFi protocols through Lulo to optimize yield across multiple lending platforms including Kamino, MarginFi, Save, and Drift.

  5. Data Synchronization: Transaction results, balance updates, and yield data are synchronized back to the user interfaces via the API.

Technical Stack

  • Frontend: React.js for web dashboard, React Native for mobile applications

  • Backend: Node.js with Express, with PostgreSQL database

  • Blockchain: Solana blockchain with Anchor framework for smart contract development

  • DeFi Integration: Lulo SDK for yield optimization across multiple protocols

  • Security: Multi-layered security approach with encryption, authentication, and continuous monitoring

This architecture allows RebelFi to offer a seamless user experience while leveraging the power of DeFi to provide unique financial benefits to businesses.