StormSale is a decentralized Web3 affiliate marketing protocol built on the Stellar Network utilizing Soroban Smart Contracts. It revolutionizes collaboration between Merchants (Advertisers), Marketers (Affiliates), and Compliance Teams (Auditors) by eliminating chargeback fraud, opaque tracking links, and 30-day payment holdbacks through automated on-chain budget escrows.
By leveraging Stellar's 5-second ledger finality and negligible transaction costs, StormSale guarantees instant commission disbursements the moment a verifiable conversion occurs.
graph TD
A[Advertiser / Merchant] -->|1. Deploy Campaign & Deposit XLM Escrow| B(Soroban Escrow Contract)
C[Affiliate / Marketer] -->|2. Share Verifiable Tracking Link| D(Customer Conversion)
D -->|3. Log AES-GCM Encrypted Sale| B
B -->|4. Automated Real-Time Commission Release| C
B -.->|5. Grant Authorized Cryptographic Access| E[Auditor Portal]
F[PostgreSQL NeonDB API] -.->|Metadata Indexing & Profiles| G[StormSale Web3 Frontend]
- Frontend Framework: React 19, TypeScript, Vite, Tailwind CSS, Framer Motion, Radix UI Primitives.
- Web3 Engine:
- Stellar SDK:
@stellar/stellar-sdk(v13+) for Soroban RPC simulation, fee estimation, and transaction submission. - Freighter API:
@stellar/freighter-apifor desktop browser extension signing. - Albedo Protocol: Native web popup bridge for zero-install mobile wallet signing (iOS Safari & Android Chrome).
- xBull SDK: Hardware-wallet compatible Stellar wallet support.
- Stellar SDK:
- Smart Contracts: Soroban Rust (
#![no_std]), persistent storage escrows with TTL auto-bump strategy. - Backend & Database: Node.js / Express, Prisma ORM, Serverless PostgreSQL (Neon).
- Security & Standards: NIST SP 800-53 (AC-3), AES-256-GCM client-side encryption, ECDH key encapsulation.
StormSale features a native, zero-friction multi-wallet authentication layer supporting both desktop and mobile web environments:
| Wallet | Type | Target Environment | Key Feature |
|---|---|---|---|
| Albedo | Web Popup Bridge | Mobile (iOS Safari & Android Chrome) + Desktop | Zero installation required. Direct on-chain signing via web popup. |
| Freighter | Browser Extension | Desktop (Chrome, Brave, Firefox) | Official Stellar Development Foundation wallet. |
| xBull | Extension & Web | Desktop & Mobile | Multi-account management and hardware key support. |
| Demo Account | 1-Tap Sandbox | Any Browser | Pre-funded with 10,000 testnet XLM for instant evaluation. |
| Watch Mode | Read-Only Key | Any Browser | Enter any Stellar public key (G...) to view metrics and campaigns. |
The interface is engineered with a mobile-first philosophy:
- Touch Navigation Drawer: Replaces desktop sidebars on viewports
< 1024pxwith a sticky mobile header and animated slide-down tab switcher. - Adaptive HUD: Displays live Stellar network status, compact address pills (
G...4xyz), active wallet connector type, and real-time XLM balances. - Fluid Typography & Visuals: Responsively scaled hero headers and an animated 3D network globe that scales smoothly from smartphones to widescreen monitors.
StormSale organizes platform features into dedicated personas:
- Deploy Smart Campaigns: Deploy on-chain Soroban escrow contracts with configurable budgets, commission percentages, and clearing periods.
- Log Encrypted Conversions: Seal customer sale metadata using AES-256-GCM client-side encryption before writing transaction hashes to the ledger.
- Grant Audit Access: Encapsulate decryption keys for compliance officers and regulatory auditors.
- Campaign Analytics: Track conversion rates, gross volume, and escrow solvency in real time.
- Campaign Marketplace: Explore active campaigns with verified on-chain budget reserves.
- Referral Generation: One-click generation of verifiable cryptographic tracking links.
- Real-Time Payouts: Claim matured commissions directly into your connected Stellar wallet.
- Performance Intelligence: Live ledger analytics on clicks, conversions, and earnings.
- Access Verification Console: Two-column cryptographic verification suite with quick-fill presets from pending audit queues.
- In-Page Payload Decryption: Decrypt and inspect authorized sale records using verified auditor keys.
- Immutable Audit Trail: Review chronological verification history and download tamper-proof audit certificates.
- Compliance Reporting: Live scorecard covering NIST SP 800-53, ISO/IEC 27001, SOC 2 Type II, and FIPS 140-2.
- Node.js: v18.0.0 or higher (v20+ recommended)
- npm: v10.0.0 or higher
- Stellar Wallet: Freighter (Desktop) or Albedo (Mobile / Web)
git clone https://github.com/StormSale/StormSale.git
cd StormSale
npm installCreate a .env file in the project root:
VITE_STELLAR_NETWORK=TESTNET
VITE_HORIZON_URL=https://horizon-testnet.stellar.org
VITE_SOROBAN_RPC_URL=https://soroban-testnet.stellar.org
VITE_NETWORK_PASSPHRASE="Test SDF Network ; September 2015"
VITE_CONTRACT_ADDRESS=CA7QW5KXGPTR4N2K9J2L77XLMESCROW9999STORMTESTNET1npm run devVisit http://localhost:5173 to launch the application.
# Build the production container
docker build -t stormsale-frontend .
# Run the container
docker run -p 5173:5173 stormsale-frontendStormSale maintains high software reliability with automated unit testing and type verification:
# Run Vitest test suite
npm test -- --run
# Run TypeScript typecheck & production bundle
npm run build
# Run code formatting & linting
npm run lint
npm run formatStormSale/
βββ .github/ # GitHub templates, workflows, & community standards
β βββ ISSUE_TEMPLATE/ # Bug reports, feature proposals, and config requests
β βββ PULL_REQUEST_TEMPLATE.md
βββ public/ # Static assets (favicons, logos)
βββ src/
β βββ assets/ # Branding graphics and vector illustrations
β βββ components/ # Modular component library
β β βββ advertiser/ # Campaign creation, sale logging, grant access forms
β β βββ affiliate/ # Campaigns list, link generators, commission claims
β β βββ auditor/ # Verify access console, audit history, compliance
β β βββ shared/ # Header, Sidebar, ConnectWalletModal, ThemeToggle
β β βββ ui/ # Radix UI & Tailwind component primitives
β βββ config/ # Stellar network and Soroban RPC configurations
β βββ context/ # Web3Context (Soroban invocations & wallet state)
β βββ lib/ # Stellar SDK engine, Albedo bridge, crypto utilities
β βββ pages/ # Landing, Dashboard, Advertiser, Affiliate, Auditor
β βββ utils/ # API clients, network health checks, helper functions
βββ CONTRIBUTING.md # Contribution guidelines
βββ CODE_OF_CONDUCT.md # Contributor Covenant code of conduct
βββ SECURITY.md # Vulnerability reporting protocol
βββ LICENSE # MIT License
Stay connected with our official channels and join our community:
- CEO Profile: https://x.com/AJDEV01 (
@AJDEV01) - Official X / Twitter: https://x.com/StormSalep (
@StormSalep) - Telegram Community: https://t.me/+BcK-BIQO0OhiZjk8
| Avatar | Name / Role | GitHub | Contact / Social |
|---|---|---|---|
![]() |
Jibril Raji Qasim (AJDEV) CEO, Lead Full-Stack & Smart Contract Developer |
@AbuJulaybeeb | X (CEO) β’ Telegram |
We welcome community contributions! Please review CONTRIBUTING.md and SECURITY.md before submitting pull requests.
π¨ IMPORTANT: All Pull Requests must target the
devbranch (origin/dev). Themainbranch is strictly reserved for stable production releases. PRs targetingmainwill be closed with a request to re-targetdev.
This project is open-source software licensed under the MIT License.

