Skip to content

mitmelon/Zorah

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

9 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Zorah Logo

๐Ÿฆ Zorah

Crypto Banking Without Complexity

Decentralized banking protocol on Polkadot-Moonbeam

Wallet abstraction ยท Smart escrow ยท Cross-chain deposits

Moonbeam Axelar PHP License

๐ŸŽฅ Demo Video ยท ๐Ÿ“– Documentation ยท ๐Ÿš€ Quick Start


๐Ÿ’ก What is Zorah?

โš ๏ธ Under Development โ€” Use Only For Testing
This project is under active development and expected to launch by March 2026. Do not use real funds or production assets here until the official launch. Use this repository only for development and testing purposes.

Zorah is a global banking protocol that makes crypto feel like traditional bankingโ€”simple, secure, and familiarโ€”while delivering the power of blockchain underneath.

๐ŸŽฏ In Simple Terms:

Imagine if Venmo had a baby with Wise (formerly TransferWise), and that baby ran on blockchain but felt like a normal banking app. That's Zorah. So we can say that, Zorah is an hybrid offspring for next generation payments. Its the future of banking.

What you can do with Zorah:

๐Ÿฆ  Open an account with a simple 11-digit number (like 12345-678901)
    โ†’ No scary "0x..." addresses
    โ†’ No seed phrases to memorize
    โ†’ Just a familiar account number

๐Ÿ’ธ  Send money to anyone, anywhere, instantly
    โ†’ 1% fee (capped at $10) vs 6-8% traditional banks
    โ†’ Settle in seconds, not days
    โ†’ No forex markups or hidden fees

๐Ÿ”’  Create secure escrow for P2P/B2B deals
    โ†’ Buy/sell without trust
    โ†’ Automated dispute resolution
    โ†’ Smart contracts handle the rest

๐ŸŒ‰  Deposit from any blockchain
    โ†’ Bridge funds from Ethereum, Avalanche, Polygon, etc.
    โ†’ Everything settles as stablecoins on Moonbeam
    โ†’ You see USD balance, not crypto complexity

๐Ÿ’ฐ  Earn yield on your balance
    โ†’ 60% yield goes to you, 40% to Zorah
    โ†’ No lock-up periods
    โ†’ Withdraw anytime

๐Ÿ›๏ธ  Accept global payments (for businesses)
    โ†’ 0.25% processing fee (vs 2.9% Stripe)
    โ†’ Instant settlement
    โ†’ No chargebacks

๐Ÿง  The Core Innovation:

You interact with account numbers. The blockchain handles everything else.

  • โœ… Your wallet? Encrypted and hidden behind your account number.
  • โœ… Gas fees? Abstracted. Moonbeam's $0.01 costs are invisible.
  • โœ… Bridging? Automatic. Axelar/Stargate works behind the scenes.
  • โœ… Smart contracts? Silent. They settle transactions trustlessly.

Result: Banking UX + Blockchain power + Zero complexity

๐ŸŒ Who is Zorah for?

๐Ÿ’ผ Individuals:

  • Freelancers receiving international payments
  • Migrants sending remittances home
  • Crypto users tired of confusing wallets
  • Anyone needing low-cost global transfers
  • Savers seeking better yield than banks

๐Ÿข Businesses:

  • E-commerce stores accepting global payments
  • B2B companies needing escrow for deals
  • Startups paying remote contractors
  • Merchants tired of 3% Stripe/PayPal fees
  • Cross-border traders needing fast settlement

๐ŸŽฌ Quick Example:

Traditional Bank:

"I want to send $100 from Nigeria to Kenya"

  • Fee: $8 (8%)
  • Time: 3-5 days
  • Recipient gets: $92

Crypto Wallet (MetaMask):

"I want to bridge USDC from Ethereum to Polygon"

  • Gas fee: $15
  • Bridge fee: $2
  • Confusing addresses: 0x7a2f...3d9e
  • Time: 30 minutes
  • Recipient confusion: "What's a wallet?"

Zorah:

"I want to send $100 to account 98765-432109"

  • Fee: $1 (1%, capped at $10)
  • Time: 10 seconds
  • Recipient gets: $99
  • UX: Just like Venmo

๐ŸŽฏ The Problem We're Solving

๐ŸŒ The Global Payment Crisis

Cross-border payments, digital escrow, and global business transactions remain:

๐Ÿ’” Traditional Banking is Broken

  • ๐Ÿ’ธ 6-8% fees for cross-border transfers
  • โฑ๏ธ 3-5 days settlement time (sometimes weeks)
  • ๐Ÿ”’ Trust required in multiple intermediaries
  • ๐ŸŒ 2 billion people remain underbanked
  • ๐Ÿฆ Limited hours - closed on weekends
  • ๐Ÿ“ Geographic restrictions on accounts
  • ๐Ÿ’ฐ High minimum balances required

๐Ÿ” Crypto Hasn't Solved UX

  • ๐Ÿ˜ต Confusing 0x... addresses scare users
  • โ›ฝ Unpredictable gas fees eat into transfers
  • ๐Ÿคฏ Intimidating for non-technical users
  • ๐Ÿ“ฑ No familiar banking interface
  • ๐Ÿ”‘ Seed phrase anxiety - one mistake = funds lost
  • ๐ŸŒ‰ Complex bridging between chains
  • ๐Ÿšซ Poor customer support in most dApps

๐Ÿ“Š Market Opportunity

The numbers are massive:

  • ๐Ÿ’ต $700B+ global remittance market (and growing)
  • ๐Ÿš€ Rising stablecoin adoption across emerging markets
  • ๐Ÿช E-commerce merchants need simple global payment rails
  • ๐Ÿ’ผ Freelancers in Africa and Asia need low-cost cross-border payments
  • ๐ŸŒ Businesses adopting blockchain-powered settlement
  • โš–๏ธ Growing demand for decentralized escrow in P2P/B2B trades

๐Ÿ’ก The Gap: Banking Power + Blockchain Security + Zero Complexity

Existing crypto solutions lack simplicity. Traditional fintech lacks global reach.

Zorah bridges this gap with a hybrid system that retains the power of blockchain while hiding the complexity from end users.


โœจ Our Solution

Zorah brings traditional banking UX to Polkadot-Moonbeam with Web3 power underneath

Feature Traditional Banks Crypto Wallets ๐ŸŽฏ Zorah
Easy UX โœ… โŒ โœ…
Low Fees โŒ โš ๏ธ โœ…
Self-Custody โŒ โœ… โœ…
Cross-Chain โŒ โš ๏ธ โœ…
Fast Settlement โŒ โœ… โœ…

๐ŸŽจ Core Features

โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚                                                                 โ”‚
โ”‚  ๐Ÿฆ  WALLET ABSTRACTION                                         โ”‚
โ”‚  โ†’ Users get familiar 11-digit account numbers                  โ”‚
โ”‚  โ†’ Behind the scenes: Encrypted EVM wallets on Moonbeam         โ”‚
โ”‚  โ†’ Non-custodial - users own their keys (encrypted)             โ”‚
โ”‚                                                                 โ”‚
โ”‚  ๐Ÿ’ฐ  MULTIPLE DEPOSIT METHODS                                   โ”‚
โ”‚  โ†’ Direct account-to-account (A2A) transfers                    โ”‚
โ”‚  โ†’ Bank transfer via P2P escrow with liquidity partners         โ”‚
โ”‚  โ†’ Cross-chain deposits via Axelar (dev) / Stargate (prod)      โ”‚
โ”‚  โ†’ Merchant payment collections for businesses                  โ”‚
โ”‚                                                                 โ”‚
โ”‚  ๐Ÿ”’  SMART ESCROW SYSTEM                                        โ”‚
โ”‚  โ†’ Trustless P2P and B2B transactions                           โ”‚
โ”‚  โ†’ Automated dispute resolution with juror voting               โ”‚
โ”‚  โ†’ 0.5% escrow fee (capped at $10)                              โ”‚
โ”‚  โ†’ Time-locked contracts with expiry protection                 โ”‚
โ”‚                                                                 โ”‚
โ”‚  ๐Ÿ’ธ  ULTRA-LOW FEES                                             โ”‚
โ”‚  โ†’ 1% transfer fee (capped at $10) vs 6-8% banks                โ”‚
โ”‚  โ†’ 0.25% merchant processing (capped at $10)                    โ”‚
โ”‚  โ†’ Powered by Moonbeam's ~$0.01 gas costs                       โ”‚
โ”‚  โ†’ No hidden fees, full transparency                            โ”‚
โ”‚                                                                 โ”‚
โ”‚  ๐Ÿ“Š  REAL-TIME BALANCES                                         โ”‚
โ”‚  โ†’ Backend reads directly from Moonbeam smart contracts         โ”‚
โ”‚  โ†’ No custodial risk, full transparency                         โ”‚
โ”‚  โ†’ Stablecoin-based (USD-equivalent)                            โ”‚
โ”‚                                                                 โ”‚
โ”‚  ๐Ÿ’Ž  SAVINGS & YIELD                                            โ”‚
โ”‚  โ†’ Users earn 60% of generated yield                            โ”‚
โ”‚  โ†’ Zorah retains 40% for sustainability                         โ”‚
โ”‚  โ†’ Optional feature for passive income                          โ”‚
โ”‚                                                                 โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜

โšก What's Working NOW

Hackathon Phase 1 - Live Features

Feature Status Description
๐ŸŽซ Account Creation โœ… Live Users create accounts with 11-digit IDs
๐Ÿ‘ค Wallet Abstraction โœ… Live EVM wallets hidden behind account numbers
๐ŸŒ‰ Cross-Chain Deposits โœ… Live Axelar bridge (aUSDC) โ†’ Moonbeam testnet
๐Ÿ’ต Balance Tracking โœ… Live Real-time updates from Moonbeam contracts
๐Ÿ“œ Smart Escrow Contract โœ… Deployed Verified on Moonbeam testnet
๐ŸŽจ Deposit UI โœ… Live 4 tabs: Direct, Bank Transfer, Bridge, Payment
โš–๏ธ Escrow UI ๐Ÿšง 50% Complete Contract deployed, UI wiring in progress
๐Ÿ’ธ Withdrawals ๐Ÿ“‹ Planned P2P escrow method (Phase 2)
๐Ÿ”„ P2P Transfers ๐Ÿ“‹ Planned Account-to-account (Phase 2)

๐Ÿ› ๏ธ Tech Stack

Backend Architecture

โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚                    ๐Ÿ–ฅ๏ธ  APPLICATION LAYER                   โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค
โ”‚  PHP 8.3         โ”‚  Modern PHP with JIT, typed properties  โ”‚
โ”‚  MongoDB         โ”‚  Document DB for accounts & history     โ”‚
โ”‚  Redis           โ”‚  High-performance caching layer         โ”‚
โ”‚  Web3.php        โ”‚  Ethereum JSON-RPC client for Moonbeam  โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
                              โ†“
โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚                   โ›“๏ธ  SETTLEMENT LAYER                     โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค
โ”‚  Moonbeam        โ”‚  EVM-compatible Polkadot parachain      โ”‚
โ”‚  Solidity        โ”‚  Smart contracts (Escrow, Deposits)     โ”‚
โ”‚  Axelar          โ”‚  Cross-chain bridge protocol            โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜

๐ŸŽจ Frontend Stack

  • JavaScript - Vanilla JS with modern ES6+ features
  • Tailwind CSS - Utility-first styling with custom black/purple theme
  • Web3.js / Ethers.js - Wallet connection and transaction signing
  • Responsive Design - Mobile-first banking interface

โ›“๏ธ Blockchain Infrastructure

  • Polkadot-Moonbeam - EVM-compatible parachain with shared security
  • Solidity 0.8.30 - Smart contract language with latest security features
  • Axelar Testnet - Cross-chain bridge (currently supports aUSDC)
  • OpenZeppelin - Battle-tested contract libraries

๐Ÿ“ Deployed Contracts

๐ŸŒ• Moonbase Alpha Testnet (Deployed)

Escrow Contract (Moonbase Alpha Testnet):

Contract Address: 0x9cA862b170Bd235Dd1A396b2da6b36A15108A3BB
Network: Moonbase Alpha (Chain ID: 1287)
Explorer: https://moonbase.moonscan.io/address/0x9cA862b170Bd235Dd1A396b2da6b36A15108A3BB

Network Details:

RPC URL: https://rpc.api.moonbase.moonbeam.network
Chain ID: 1287
Symbol: DEV
Block Explorer: https://moonbase.moonscan.io

Block Explorer: https://moonbase.moonscan.io


### ๐Ÿ“˜ Smart Contract Documentation

**For comprehensive smart contract details, including:**
- โœ… Full architecture and features
- โœ… Step-by-step deployment guide for Moonbeam
- โœ… Configuration instructions
- โœ… Security features and audit checklist
- โœ… Testing setup
- โœ… Contract interaction examples

**โ†’ [Read the Complete Contract README](./contract/README.md)**

> The contract README includes production-ready deployment scripts, Hardhat configuration for all Moonbeam networks (Mainnet, Moonriver, Moonbase Alpha), and detailed API documentation for integrating with the escrow system.

</div>

---

## ๐Ÿš€ Quick Start

### ๐Ÿ“‹ Prerequisites

```bash
โœ… XAMPP or Laragon             # All-in-one PHP, MySQL, Apache
โœ… MetaMask Wallet              # For testing cross-chain deposits
โœ… Moonbeam Testnet Tokens      # From faucet (optional)

๐Ÿ“ฆ Installation

Step 1: Clone Repository

# Clone into your XAMPP/Laragon www directory
cd C:\xampp\htdocs  # or C:\laragon\www
git clone https://github.com/mitmelon/Zorah.git zorah

Step 2: Install Dependencies

cd zorah
composer install

Step 3: Configure Environment

# Copy environment file
cp .env.example .env

# Edit .env with your database settings
# Most defaults work out of the box with XAMPP/Laragon

Step 4: Start & Access

# Start XAMPP/Laragon (Apache + MySQL)
# Then visit:
http://localhost/zorah

# Or use PHP built-in server:
php -S localhost:8000

That's it! ๐ŸŽ‰


๐ŸŽฏ Usage Guide

๐Ÿ“ฑ Step 1: Create Your Account

1. Visit http://localhost:8000
2. Click "Create Account"
3. Enter email and secure password
4. Receive your 11-digit account number (e.g., 12345-678901)

๐Ÿ’ก Pro Tip: Your account number is like a traditional bank account - easy to share, easy to remember!

๐Ÿ’ฐ Step 2: Get Testnet Tokens

1. Visit Axelar Faucet: https://faucet.axelar.dev/
2. Connect your MetaMask wallet
3. Select a source chain (e.g., Avalanche Fuji, Polygon Mumbai)
4. Request testnet aUSDC tokens
5. Confirm you received tokens in your wallet

๐ŸŒ‰ Step 3: Deposit via Cross-Chain Bridge

1. In Zorah dashboard, click "Receive Funds"
2. Select the "Bridge" tab
3. Connect your wallet (MetaMask)
4. Choose:
   โœ“ Source chain (where you have aUSDC)
   โœ“ Asset (aUSDC)
   โœ“ Amount to deposit
5. Review fees and confirm
6. Approve Axelar bridge transaction in wallet
7. Wait 2-5 minutes for cross-chain confirmation
8. Balance updates automatically in your Zorah account โœจ

๐Ÿ“Š Step 4: View Your Balance

Dashboard shows:
- Your USD balance on Moonbeam
- Transaction history

๐ŸŽจ Deposit Methods

Method Description Status
๐Ÿฆ Direct Account-to-account transfers within Zorah ๐Ÿ“‹ Planned
๐Ÿ›๏ธ Bank Transfer Via liquidity partner escrow (fiat on-ramp) ๐Ÿ“‹ Planned
๐ŸŒ‰ Bridge Cross-chain via Axelar (aUSDC testnet) โœ… Working
๐Ÿ’ณ Payment Merchant payment collections ๐Ÿ“‹ Planned

๐Ÿ’ธ Withdrawal Methods

Primary: P2P fiat settlement via liquidity partners (zero bridging fees)
Optional: Direct crypto withdrawal to Moonbeam wallet, or bridge to other chains (user pays fees)

Design Philosophy: Default withdrawals avoid expensive bridging costs through LP network, while providing optional on-chain paths for crypto-native users.


๐Ÿ’ก Why PHP 8.3 for Blockchain?

๐Ÿš€ Modern PHP is a First-Class Blockchain Backend

"PHP can't handle blockchain!" - This is outdated thinking from the PHP 5 era.

โšก Performance Advantages

โœ… JIT Compiler       โ†’  40% faster than PHP 7.4
โœ… Preloading         โ†’  Reduced latency for hot paths
โœ… OPcache            โ†’  Bytecode caching
โœ… FFI Support        โ†’  Direct C library calls
โœ… Async I/O Ready    โ†’  Non-blocking blockchain polling

๐Ÿ”’ Type Safety for Finance

// PHP 8.3 strict typing for blockchain amounts
readonly class TokenAmount {
    public function __construct(
        public readonly string $amount,
        public readonly int $decimals,
        public readonly TokenType $token
    ) {
        if (bccomp($amount, '0') <= 0) {
            throw new InvalidAmountException();
        }
    }
    
    public function toWei(): string {
        return bcmul($this->amount, bcpow('10', (string)$this->decimals));
    }
}

// Union types, enums, intersection types - perfect for blockchain state
enum TransactionStatus: string {
    case PENDING = 'pending';
    case CONFIRMED = 'confirmed';
    case FAILED = 'failed';
}

๐ŸŒ Real-World Integration

Metric Value Impact
Web Usage 77% Easy integration with existing businesses
Developer Pool 5M+ Larger talent pool for hiring
Hosting Support 99% Works on any shared hosting
Production Hardening 28 years Battle-tested in high-traffic environments

๐Ÿ› ๏ธ Libraries

โœ… Web3.php          # Full Ethereum JSON-RPC client
โœ… GMP Extension     # Big number arithmetic (essential for tokens)
โœ… OpenSSL           # Cryptographic operations & key management
โœ… MongoDB Driver    # High-performance NoSQL
โœ… Predis            # Redis client for caching

๐Ÿค” Why NOT Node.js?

We considered Node.js but chose PHP because:

  1. ๐Ÿ‘ฅ Team Expertise - Faster development in familiar language
  2. ๐Ÿ“š Ecosystem Maturity - 28 years of production hardening
  3. ๐Ÿš€ Deployment Simplicity - Works on any shared hosting
  4. ๐Ÿ’พ Memory Efficiency - Request-scoped model uses less RAM
  5. ๐Ÿ”„ Process Isolation - Crashes don't affect other requests

๐ŸŽฏ The Real Reason: Building for Billions, Not Just Crypto Natives

"We chose PHP 8.3 because Zorah is designed for real-world adoption, not just crypto natives."

PHP powers 77% of the webโ€”WordPress, Laravel, Shopifyโ€”because it's battle-tested for production. Our architecture separates business logic (PHP) from settlement logic (Moonbeam smart contracts), which means traditional businesses can integrate Zorah without learning Solidity.

Plus, PHP 8.3's JIT compiler and strict typing make it perfect for financial operations. We're not building for developersโ€”we're building for 2 billion underbanked people. That requires pragmatic tech choices, not hype-driven ones.

Bottom Line: PHP 8.3 is a first-class citizen for blockchain backends. The language doesn't determine successโ€”architecture does. Zorah's hybrid design puts user experience first, blockchain second.


๐ŸŽฅ Demo Video

๐ŸŽฌ Watch Zorah in Action (3 minutes)

Zorah Demo

What the video shows:

โœ… Account creation with 11-digit number generation
โœ… Wallet abstraction (user never sees 0x address)
โœ… UI showing 4 deposit tabs: Direct, Bank Transfer, Bridge, Payment
โœ… Cross-chain deposit via Axelar bridge (aUSDC)
โœ… Real-time balance update from Moonbeam
โœ… Smart escrow contract deployed on Moonbeam testnet


๐ŸŽฏ Technical Achievements

๐ŸŒŸ Innovation Highlights

๐ŸŽจ UX Innovation

Wallet Abstraction

Users get familiar 11-digit account numbers.

Behind the scenes: Full EVM wallet on Moonbeam.

"Banking UX meets Web3 power"

โšก Technical Depth

Modern PHP + Moonbeam

PHP 8.3 handles blockchain excellently.

Event-driven architecture with Redis caching.

"Sub-second balance queries"

๐ŸŒ‰ Cross-Chain UX

Seamless Bridges

Users don't need to understand bridges.

Axelar integration abstracted away.

"Just worksโ„ข"

๐Ÿ” Polkadot Integration

โœ… Moonbeam EVM          โ†’  Leverage Polkadot's shared security
โœ… Low Gas Fees          โ†’  ~$0.01 transactions enable micropayments
โœ… Axelar Bridge         โ†’  Cross-chain deposits (aUSDC testnet)
โœ… Parachain-Ready       โ†’  Architecture supports XCM in future
โœ… Developer Experience  โ†’  Familiar Solidity + EVM tooling

Full technical details: See Why Polkadot-Moonbeam section below.


๐Ÿšง Known Limitations

Hackathon Build - 6 Weeks

Limitation Impact Timeline
๐ŸŽจ Escrow UI 50% complete Contract deployed, UI wiring in progress Week 1 post-hackathon
๐Ÿ’ธ No withdrawals yet Users can deposit but not withdraw Week 2 post-hackathon
๐Ÿ”„ P2P transfers planned Account-to-account transfers coming Week 3 post-hackathon
๐Ÿงช Testnet only Mainnet requires security audit Month 2 post-hackathon
๐Ÿ’ต aUSDC only Axelar testnet limitation, mainnet supports more Mainnet migration

๐Ÿ“ˆ Development Roadmap

What we're building: Full-featured decentralized banking protocol on Polkadot-Moonbeam

๐Ÿ“… Phase 1: Hackathon Build (Current - Nov 2025)

โœ… Completed:

  • Core escrow smart contract (deployed on Moonbeam testnet)
  • Wallet abstraction with 11-digit account system
  • Cross-chain deposit UI (4 methods: Direct, Bank, Bridge, Payment)
  • Axelar bridge integration for aUSDC deposits
  • Basic balance tracking and transaction history
  • Account creation and authentication

๐Ÿšง In Progress (50%):

  • Escrow UI integration (contract ready, wiring UI)

๐ŸŽฏ Phase 2: Core Features (Q1 2026)

Backend:

  • Complete escrow UI integration with smart contract
  • P2P fiat withdrawal system (liquidity partner network)
  • Account-to-account internal transfers
  • Transaction history and export features
  • Enhanced security (2FA, withdrawal confirmations)

Smart Contracts:

  • Security audit (CertiK or Trail of Bits)
  • Multi-signature admin controls
  • Emergency pause mechanism improvements
  • Gas optimization

Frontend:

  • Mobile-responsive dashboard improvements
  • Real-time balance updates (WebSocket/SSE)
  • Transaction notifications
  • KYC integration UI

๐Ÿš€ Phase 3: Advanced Features (Q2-Q3 2026)

Cross-Chain:

  • Migrate from Axelar to LayerZero Stargate (lower fees)
  • Support multiple stablecoins (USDC, USDT, DAI)
  • Multi-chain deposits (Ethereum, Polygon, Arbitrum, Avalanche)

Business Tools:

  • Payment gateway API for merchants
  • Merchant dashboard with analytics
  • Invoice generation and tracking
  • Webhook notifications for payments

DeFi Integration:

  • Yield generation for idle balances
  • Integration with Moonwell (Moonbeam lending)

Mobile:**

  • React Native mobile app development
  • Push notifications
  • Biometric authentication

๐ŸŒŸ Phase 4: Ecosystem Expansion (Q4 2026 - 2027)

Token Development:

  • Zorah Token ($ZORA) smart contract
  • Utility: Fee discounts, LP rewards, governance
  • Token audit and testing

Compliance:

  • KYC/KYB provider integration
  • AML transaction monitoring
  • Regulatory framework preparation

Parachain Bridge Development:

  • Begin proprietary Polkadot Parachain Bridge R&D
  • Focus: Stablecoin bridging across Polkadot parachains to Moonbeam
  • Support USDC, USDT, DAI from Acala, Parallel, Astar, Centrifuge
  • XCM (Cross-Consensus Messaging) integration
  • Performance optimization for scale
  • Advanced caching and database optimization

๐Ÿ”ฎ Phase 5: Long-Term Vision (2028+)

Proprietary Polkadot Parachain Bridge:

  • Zorah Parachain Bridge for stablecoin transfers
  • XCM-based routing between parachains and Moonbeam
  • Support stablecoins from: Acala, Parallel Finance, Astar, Centrifuge
  • Lower fees than Axelar/LayerZero for Polkadot ecosystem
  • Direct integration with Zorah account system
  • Gasless bridging for users (fees paid from balance)

Astar Network Deployment:

  • Deploy Zorah Escrow Protocol on Astar Network
  • Launch Yield Vaults on Astar (stablecoin yields via Astar DeFi)
  • Enable cross-parachain escrow (Moonbeam โ†” Astar)
  • Tap into Astar's dApp staking rewards

Polkadot Ecosystem Integration:

  • XCM channels with Acala, Parallel, Astar, Centrifuge
  • Phala Network for privacy-preserving KYC
  • Multi-parachain stablecoin liquidity pooling

Advanced Features:

  • Privacy-preserving transactions (Phala integration)
  • Business lending products (stablecoin collateral)
  • Treasury management tools
  • Debit card (physical + virtual)

๐Ÿ“Š Roadmap Summary

Phase Timeline Key Deliverable
Phase 1 Nov 2025 ๐Ÿ—๏ธ Hackathon MVP + Escrow Contract
Phase 2 Q1 2026 โœ… Complete Core Banking Features
Phase 3 Q2-Q3 2026 ๐Ÿš€ Multi-Chain + Business Tools
Phase 4 Q4 2026-2027 ๐Ÿ’Ž Token + Compliance Ready
Phase 5 2028+ ๐ŸŒ Proprietary Bridge + Ecosystem

๐Ÿ† Why Polkadot-Moonbeam?

Zorah is built on Polkadot-Moonbeam to leverage the perfect combination of security, cost-efficiency, and interoperability for global fintech operations.

๐ŸŒŸ Technical Advantages We're Leveraging

๐Ÿ”’ Shared Security - Enterprise-Grade Protection

  • Polkadot's 1000+ validators secure Moonbeam
  • $10B+ in staked value backing network security
  • No need to bootstrap validator set
  • Enterprise-grade security from day one
  • Finality in 12-18 seconds (vs hours on other chains)
  • Proven track record - no major hacks since launch

Why this matters for Zorah:

When handling user funds, security is non-negotiable. Polkadot's shared security means Zorah benefits from the combined security budget of the entire ecosystem - something no standalone chain can match.

๐Ÿ’ฐ Low Transaction Costs - Enabling Micropayments

  • ~$0.01 per transaction (tested on testnet)
  • Enables micropayments & high-frequency operations
  • 100x cheaper than Ethereum mainnet
  • Predictable gas prices (no fee spikes)
  • Sustainable for high-volume business operations

Why this matters for Zorah:

Traditional fintech requires predictable, low costs. At $0.01 per transaction, Zorah can profitably serve users making $5 transfers - impossible on expensive chains like Ethereum ($10+ gas) or even Polygon ($0.50+ during congestion).

โš™๏ธ EVM Compatibility - Fast Development

  • Deploy Solidity contracts without modification
  • Familiar tools: Hardhat, Remix, Truffle, OpenZeppelin
  • Easy integration with Web3.js/Ethers.js
  • Large developer ecosystem (millions of Solidity devs)
  • Copy-paste Ethereum code that just works
  • Access to battle-tested contract libraries

Why this matters for Zorah:

Development speed is critical in Web3. Moonbeam's EVM compatibility means we can use proven OpenZeppelin contracts, leverage existing tooling, and hire from a massive developer pool - cutting development time by 6+ months compared to learning a new VM.

๐ŸŒ‰ Cross-Chain Native - Future-Proof Architecture

  • XCM protocol for parachain communication (native)
  • Future integration with Acala (DeFi hub), Astar (dApps), Phala (privacy)
  • Axelar/Stargate bridge for external chains
  • Unified liquidity across Polkadot ecosystem
  • Trustless bridging without custodial risk
  • Native DOT integration

Why this matters for Zorah:

Banking requires interoperability. Polkadot's XCM lets us natively integrate with DeFi protocols on Acala, privacy features on Phala, and more - without risky third-party bridges. This positions Zorah to offer savings, loans, and investment products in Phase 3+.

๐Ÿš€ Scalability for Global Operations

  • 2,000 TPS on Moonbeam (vs 15 TPS on Ethereum)
  • Parallel transaction processing
  • No mempool congestion during peak times
  • Block times: 12 seconds (consistent)
  • Can handle millions of users without degradation

Why this matters for Zorah:

When aiming for 300,000+ users by 2031, we need infrastructure that scales. Moonbeam's throughput means we'll never face the "CryptoKitties problem" where user growth crashes the network.

๐ŸŽ“ Developer Experience & Support

  • Excellent documentation with real-world examples
  • Active Moonbeam DevRel team (responsive support)
  • Substrate framework flexibility for custom logic
  • Growing parachain ecosystem (20+ parachains)
  • Testnet faucets & tools readily available
  • Regular hackathons and grants program

Why this matters for Zorah:

Building in public with strong ecosystem support accelerates our roadmap. Moonbeam's DevRel team has been instrumental in helping us integrate Axelar and optimize gas usage during this hackathon build.

๐Ÿ“Š Competitive Comparison

Feature Ethereum Polygon BNB Chain Moonbeam
Transaction Cost $10-50 $0.20-2 $0.30-1 $0.01 โœ…
Transaction Speed 15 TPS 7,000 TPS 160 TPS 2,000 TPS
Finality 15 min 30 sec 3 sec 12-18 sec โœ…
Security Model Own validators Checkpointing 21 validators Polkadot shared โœ…
EVM Compatible Native โœ… โœ… โœ…
Cross-Chain Native โŒ โŒ โŒ โœ… (XCM)
Ecosystem Maturity High Medium Medium Growing

๐ŸŽฏ Why Not Ethereum or Polygon?

Ethereum:

  • โŒ Gas costs would eat 50%+ of small transfers
  • โŒ Congestion during NFT drops makes banking UX terrible
  • โŒ Users pay $50 to move $100 - unacceptable for banking

Polygon:

  • โš ๏ธ Cheaper but still $0.50-2 per transaction during peak
  • โš ๏ธ Centralized checkpointing to Ethereum (less secure)
  • โš ๏ธ MEV issues affect transaction ordering

BNB Chain:

  • โš ๏ธ Only 21 validators (centralization concern)
  • โš ๏ธ History of bridge hacks ($500M+ stolen)
  • โš ๏ธ Not truly decentralized

Moonbeam:

  • โœ… Best cost/security/speed tradeoff
  • โœ… True decentralization via Polkadot
  • โœ… Native interoperability for future expansion
  • โœ… Perfect for fintech-grade operations

๐Ÿ”ฎ Future Polkadot Integrations

Phase 4-5 (2027-2028+) - Parachain Ecosystem Expansion:

๐ŸŒ‰ Zorah Parachain Bridge (Proprietary)
   โ†’ Stablecoin bridging across Polkadot parachains to Moonbeam
   โ†’ XCM-based routing: Acala, Parallel, Astar, Centrifuge โ†’ Moonbeam
   โ†’ Support: USDC, USDT, DAI, aUSD (Acala's native stablecoin)
   โ†’ Lower fees than external bridges for Polkadot ecosystem

โญ Astar Network Deployment
   โ†’ Deploy Zorah Escrow Protocol on Astar parachain
   โ†’ Launch Yield Vaults (stablecoin DeFi yields on Astar)
   โ†’ Cross-parachain escrow (Moonbeam โ†” Astar)
   โ†’ Tap into Astar's dApp staking for user rewards

๐Ÿฆ Acala Integration
   โ†’ Bridge aUSD (Acala's native stablecoin) to Zorah
   โ†’ Access Acala's DeFi yields for stablecoins
   โ†’ Enable seamless USDC/USDT โ†’ aUSD swaps

๐Ÿ” Phala Network
   โ†’ Privacy-preserving KYC verification
   โ†’ Encrypted transaction metadata for sensitive business payments
   โ†’ Confidential balance proofs without revealing amounts

๐Ÿ”— Parallel Finance
   โ†’ Bridge stablecoins from Parallel to Moonbeam
   โ†’ Leverage Parallel's money market for yields

This is why we chose Polkadot: It's the only ecosystem that combines Ethereum compatibility with true scalability, security, and native interoperability - the exact stack needed for global banking operations.


๐Ÿ”’ Security Considerations

โœ… Current Security Measures

  • ๐Ÿ”‘ AES-256 encryption for private keys
  • ๐Ÿ”’ HTTPS-only communication
  • ๐Ÿšฆ Rate limiting on authentication endpoints
  • ๐Ÿ’พ Redis session management with secure tokens
  • ๐Ÿ“Š MongoDB for data persistence with encryption at rest
  • ๐Ÿ“œ Smart contract deployed with OpenZeppelin best practices
  • ๐Ÿ›ก๏ธ Input validation & SQL injection protection

๐Ÿ”œ Planned Security Enhancements

๐Ÿ“‹ Security audit by CertiK or Trail of Bits
๐Ÿ“‹ Bug bounty program ($10k-$100k rewards)
๐Ÿ“‹ Multi-sig wallet for contract upgrades
๐Ÿ“‹ 2FA/MFA for account access
๐Ÿ“‹ Withdrawal address whitelisting
๐Ÿ“‹ Anomaly detection for suspicious transactions
๐Ÿ“‹ Insurance fund for user protection

๐Ÿ› Troubleshooting

โŒ Cannot connect to Moonbeam RPC
# Check .env configuration
MOONBEAM_RPC_URL=https://rpc.api.moonbase.moonbeam.network

# Test RPC manually
curl -X POST https://rpc.api.moonbase.moonbeam.network \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","method":"eth_blockNumber","params":[],"id":1}'

# Should return latest block number
โŒ Apache/PHP not starting
# Check if port 80/443 is already in use
# In XAMPP/Laragon control panel, start Apache

# If port conflict, change Apache port:
# Edit httpd.conf: Listen 8080
# Then access: http://localhost:8080/zorah
โŒ Axelar deposit not showing
# 1. Verify you're using aUSDC (testnet limitation)

# 2. Check Axelar transaction status
# Visit: https://testnet.axelarscan.io/
# Enter your transaction hash

# 3. Wait 2-5 minutes for cross-chain confirmation

# 4. Check Moonbeam balance directly
# Visit: https://moonbase.moonscan.io/
# Enter your wallet address

# 5. Force backend sync (if needed)
php artisan moonbeam:sync-deposits
โŒ Composer install fails
# Update Composer
composer self-update

# Clear cache
composer clear-cache

# Install with verbose output
composer install -vvv

# If specific package fails, check repositories in composer.json

๐Ÿ“„ License

MIT License

Copyright ยฉ 2025 Zorah Protocol

Open source, built in public, radically useful.

License


๐Ÿ‘ฅ Team

๐ŸŽจ Manomite - Founder & Lead Developer (Parent Company)

Full-Stack Blockchain Engineer

๐Ÿ”น Blockchain: Solidity, Web3.php, Ethers.js
๐Ÿ”น Backend: PHP 8.3, MongoDB, Redis, Rust
๐Ÿ”น Frontend: JavaScript, Tailwind CSS

GitHub Twitter


๐Ÿ™ Acknowledgments

Special thanks to:

๐ŸŒŸ Polkadot & Moonbeam - For building the infrastructure that makes this possible
๐ŸŒŸ Axelar - For seamless cross-chain bridging technology
๐ŸŒŸ Web3 Foundation - For hackathon organization and support
๐ŸŒŸ OpenZeppelin - For battle-tested smart contract libraries
๐ŸŒŸ PHP Community - For modern language evolution (8.3 is amazing!)


๐Ÿ“ž Contact & Links

๐ŸŒ Get in Touch

๐Ÿ“ง Email: manomitehq@gmail.com
๐Ÿ“ฑ Twitter: @ZorahTeams


๐Ÿ”— Useful Resources

๐Ÿ“– Moonbeam Docs โ€ข ๐ŸŒ‰ Axelar Docs โ€ข ๐Ÿ’ฌ Polkadot Discord โ€ข ๐Ÿฆ Moonbeam Twitter


๐ŸŒŸ Built with โค๏ธ for the Polkadot Ecosystem

"Radically open, radically useful"

Making crypto banking as simple as traditional banking

Polkadot Moonbeam

About

Decentralized fiat borderless payment system - transfer funds to anyone around the world

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published