Private, cross-chain payment infrastructure powered by Solana
๐ Live App โข ๐ฆ npm SDK โข ๐ฅ Demo Video โข ๐ Pitch Deck
Built by Rohan Kumar โข Team BROTHERHOOD
StreamPay isn't just another payment gateway; it's the missing link between the sovereign freedom of decentralized finance and the non-negotiable privacy of global commerce. We've built the infrastructure that finally allows businesses to scale on-chain without stripping away their competitive confidentiality.
Traditional crypto payments suffer from a fundamental paradox: they offer borderless efficiency but demand total transparency.
- The Exposure Trap: In a world where every transaction is public, payroll becomes a security risk, vendor relationships become open secrets, and business strategy is laid bare for competitors to see.
- The Fragmentation Wall: Cross-chain liquidity is trapped in silos. Forcing a user to bridge, swap, and sign multiple times to make a simple payment is the antithesis of a professional user experience.
- The Infrastructure Void: Most "solutions" are either fully transparent or too complex for real-world accounting. Merchants are left choosing between privacy and usability.
We realized that privacy doesn't require complex zero-knowledge proofs for every single micro-interaction. Instead, we pioneered Metadata Abstraction.
- Decoupled Execution: By separating the raw on-chain settlement from the sensitive payment intent, we achieve "private-like" confidentiality. The chain sees a successful transfer; only the parties involved see the why, the who, and the context.
- Seamless Cross-Chain Settlement: We've unified the multi-chain landscape. Users pay with what they have; merchants receive what they need. No manual bridging, no frictionโjust pure, high-velocity commerce.
- Professional Standard: We are moving blockchain payments from a "public novelty" to a "professional financial standard," giving businesses the tools to operate at scale with confidence.
We've engineered a high-orchestration pipeline that turns a complex multi-chain journey into a single, elegant interaction for the user:
graph LR
subgraph "Phase 1: User Intent"
A[Connect Wallet] --> B[Select Asset & Chain]
B --> C[Confirm Amount]
end
subgraph "Phase 2: Automated Orchestration"
C --> D[LI.FI - Route Discovery]
D --> E[Jupiter - Atomic Swap]
end
subgraph "Phase 3: Shielded Settlement"
E --> F[Solana Execution]
F --> G[Cloak Privacy Layer]
G --> H[(Metadata Vault)]
end
subgraph "Phase 4: Final Outcome"
H --> I[User Confirmation]
H --> J[Merchant Dashboard]
end
- Connect & Select: The user connects their wallet (e.g., Phantom, Metamask) and selects any asset on any supported chain (Ethereum, Base, Solana, etc.).
- Intelligent Discovery: Our integration with LI.FI instantly discovers the most cost-effective and secure path across the ecosystem for the specific payment amount.
- One-Click Authorization: The user signs a single transaction. StreamPay handles the bridge, the swap via Jupiter, and the final payment settlement automatically.
- Shielded Settlement: The payment is finalized on Solana. To any observer, it's just another fast transaction; the sensitive details are shielded from the public ledger.
- Metadata Vaulting: While the transaction settles, the rich dataโinvoice IDs and purposeโis securely vaulted off-chain, ensuring private accounting.
- Real-Time Confirmation: The merchant and user both receive instant confirmation. The merchant dashboard updates with the full "Single Source of Truth."
- ๐ Privacy Abstraction Layer: Our core innovation that decouples sensitive metadata from public on-chain execution.
- ๐ Cross-Chain Payments: Seamlessly accept assets from any EVM or non-EVM chain via LI.FI routing.
- โก Fast Swaps via Jupiter: Instant, low-slippage conversion into your target settlement asset.
- ๐ผ Merchant Dashboard: A professional-grade console for tracking revenue, managing plans, and monitoring private subscriptions.
- ๐ Wallet-Based Payments: Full support for industry-standard wallets like Phantom and Metamask.
- ๐ก Webhook Support: Real-time event notifications to sync your backend with every private payment.
- ๐งพ Subscription Tracking: Advanced logic for managing recurring billing cycles without exposing customer data.
- ๐ง Developer SDK Integration: A developer-first approach with our streampay-sdk (100+ downloads), allowing for seamless integration of private payments into any application.
StreamPay is a multi-disciplinary powerhouse, intentionally designed to span the most critical tracks in the Solana ecosystem. We have applied for 7 strategic tracks, each representing a core pillar of our infrastructure.
Cloak is the heart of our privacy promise. By utilizing Cloak's abstraction layer, we ensure that while the settlement is verified on the blockchain, the intent and identity behind the payment remain shielded. This allows businesses to operate with the same confidentiality they expect from traditional banking, but with the sovereign power of Solana.
Speed is a feature, not an afterthought. We utilize RPC Fast as our primary gateway to the Solana network. This ensures that our cross-chain swaps and shielded settlements are broadcast and confirmed with sub-second latency. Without RPC Fast's enterprise-grade reliability, the seamless "One-Click" experience of StreamPay wouldn't be possible.
We've integrated MagicBlock concepts to handle complex execution states in a private manner. This allows us to manage subscription logic and payment verification without leaking state information to public explorers, further hardening the privacy of our merchant-customer relationships.
Data-driven decisions shouldn't require compromising privacy. We leverage Dune to provide aggregate, non-sensitive insights into the health of the StreamPay ecosystem. This gives merchants the macro-level data they needโrevenue trends, active user counts, and growth metricsโwhile our metadata layer protects the micro-level privacy.
LI.FI is the bridge that brings the entire multi-chain world to StreamPay. By integrating their route discovery and bridging infrastructure, we've made it possible for a user on Ethereum or Base to pay a StreamPay merchant on Solana as easily as if they were on the same chain. It is the foundation of our "Pay with Anything" philosophy.
The final mile of every StreamPay transaction is handled by Jupiter. Their swap aggregation ensures that regardless of what asset the user sends, the merchant receives their settled funds with the best possible price and minimal slippage. Jupiter is the engine that makes our unified Solana settlement both viable and highly efficient.
For users and regions where traditional blockchain transparency is required or preferred, we've integrated Dodo Payments. This provides a robust public fallback path, ensuring that StreamPay remains a globally accessible platform that can accommodate any regulatory or personal preference without friction.
StreamPay is engineered as a high-fidelity payment orchestration ecosystem. Our architecture is designed to handle the entire lifecycle of a transactionโfrom multi-chain intake and liquidity routing to shielded settlement and automated merchant reporting.
graph TD
User([User / Payer]) --> WebApp[Next.js Frontend]
Developer([External Developer]) --> SDK[StreamPay SDK / API]
subgraph "Intake & Routing"
WebApp & SDK --> Orch{Orchestration Engine}
Orch --> LIFI[LI.FI Bridge & Swap]
LIFI --> Jup[Jupiter Liquidity Aggregator]
end
subgraph "Execution Layer (Solana)"
Jup --> Router[Payment Router Program]
Router --> SubMgr[Subscription Manager Program]
Router --> RPC[RPC Fast Infrastructure]
end
subgraph "Privacy & Persistence"
Router --> Cloak[Cloak SDK - Shielded TX]
Cloak --> Vault[(Secure Metadata Vault)]
Vault --> Keys[Viewing Keys / Selective Audit]
end
subgraph "Merchant Ecosystem"
Vault --> Dash[Merchant Dashboard]
Dash --> Dune[Dune Analytics Dashboards]
Router -.-> Dodo[Dodo Payment Fallback]
Vault --> Webhooks[Webhook Engine]
Webhooks --> ExtSrv[External Merchant Services]
end
- Intake & Orchestration: A unified entry point for both our native web app and third-party integrations via the StreamPay SDK. It leverages LI.FI for intelligent route discovery and Jupiter for atomic, zero-slippage swaps into the settlement currency.
- On-Chain Execution (Solana): Our dual-program architectureโPayment Router and Subscription Managerโmanages the complex state of recurring billing and one-time payments. All interactions are routed through RPC Fast to guarantee enterprise-grade performance and sub-second finality.
- The Privacy Engine: Powered by the Cloak SDK, this layer executes shielded transactions that decouple the public ledger from sensitive payment details. We support Selective Auditability through viewing keys, allowing merchants to remain compliant while keeping their data private.
- Persistence & Persistence: The Metadata Vault is our secure off-chain layer that bridges the gap between raw blockchain hashes and human-readable business data.
- The Merchant Ecosystem: A full-stack suite including a Next.js Console, Dune Analytics for aggregate insights, and a robust Webhook Engine that triggers external merchant services (ERP, CRM, etc.) upon payment confirmation.
StreamPay is a developer-first platform. Our streampay-sdk (100+ downloads) allows you to integrate privacy-first, cross-chain payments into your application with just a few lines of code.
- ๐ Privacy by Default - All payments protected by Cloak's privacy layer.
- โก Optimized Execution - MagicBlock integration for faster, cheaper transactions.
- ๐ฐ Multi-Currency Support - USDC, USDT, and native SOL payments.
- ๐ Automatic Retries - Built-in exponential backoff for resilience.
- ๐ Type-Safe - Full TypeScript support with strict types.
Installation
npm install streampay-sdkBasic Usage
import { StreamPay } from "streampay-sdk";
// Initialize SDK with your API key
const sdk = new StreamPay({
apiKey: "sp_live_abc123...",
});
// Create a private payment
const payment = await sdk.payments.create({
amount: 1000, // $10.00 in cents
currency: "USDC",
recipient_id: "7qLn8gQUJfaRFMx2HaJe5aAMYm7MgKgsCp7PVKgBvfXY",
privacy_mode: "cloak",
source_chain: "solana",
});
console.log(`Payment created: ${payment.id}`);
console.log(`Status: ${payment.status}`);Manage recurring billing with flexible intervals while maintaining customer privacy.
const subscription = await sdk.subscriptions.create({
amount: 2999, // $29.99 per month
currency: "USDC",
interval: "monthly",
recipient_id: "user_wallet",
privacy_mode: "cloak",
});The StreamPay Payment Router contract is live on Solana Devnet. It records payment intents and confirms execution via execution references from our privacy layers.
- Program ID:
Bs464Nm3DY6qNafJn5kmVHxh9R8nKRLpuXfdDrZQMd76 - Deployment Signature:
5QV3WoHgcumYgH5brQpBKBdNcfAoeZt2XCofdrJG8y65JxEX8rdhpzGhGeY1usT1eDefzdp4kmpfk1iv5smFfJHy - Status: โ Finalized
- Verification: View on Solana Explorer
Core Functions:
- Records
PaymentRecordaccounts withPendingstatus. - Confirms execution and updates records to
Completed. - Supports flexible authorization for user, merchant, or backend authorities.
The Subscription Manager handles the lifecycle of recurring payments, from plan creation to renewal.
- Program ID:
Bs464Nm3DY6qNafJn5kmVHxh9R8nKRLpuXfdDrZQMd76 - Upgrade Signature:
TzkUpt83SxkEYky7Nz97kKoNaWExTrEW1FTjjksJhmGFhNQbHk2SW2xRH9gk71k84ZekF64cenFibWHJhxSSype - Status: โ Finalized
- Verification: View on Solana Explorer
Core Functions:
- Merchant registration of subscription plans (amount, duration).
- Activation of user subscriptions linked to payment records.
- Automatic status tracking (Active, Paused, Expired).
StreamPay is built using a modern, high-performance stack designed for the next generation of financial applications.
- Frontend: Next.js, Tailwind CSS
- Blockchain Logic: Solana Web3.js, Wallet Adapter (Phantom)
- Infrastructure: RPC Fast (Primary Node Provider)
- Cross-Chain Routing: LI.FI API
- Liquidity & Swaps: Jupiter API
- Backend: Node.js (API Routes)
- Data Persistence: PostgreSQL (Secure Metadata Storage)
- Privacy Layer: Cloak SDK & MagicBlock concepts
๐ Launch StreamPay Web App โข ๐ฅ Watch Demo Video
- Connect Wallet: Link your Phantom or Metamask wallet.
- Private Pay: Select a plan and click "Private Pay" to initiate the shielded workflow.
- Verify: Compare the generic transfer hash on the Solana Explorer with the rich, itemized data available in your StreamPay Merchant Dashboard.
Experience the seamless, privacy-first interface of StreamPay.
Our demo illustrates the stark contrast between public exposure and professional privacy:
- On-Chain (Public): Observers only see a standard token transfer and a transaction hash. No recipient identity, no invoice details, no business context.
- Off-Chain (Private): The full, itemized transaction details are securely stored in our metadata layer.
- Merchant Dashboard: The merchant sees the complete "Single Source of Truth"โwho paid, for what, and whenโwithout leaking that data to the public ledger.
StreamPay is designed as a sustainable protocol with multiple revenue streams:
- Transaction Fees: A small percentage fee on every cross-chain or shielded payment.
- SaaS Dashboard: Tiered subscription models for advanced merchant analytics and CRM tools.
- Developer API: Usage-based pricing for high-volume enterprise integrations via our SDK.
- Premium Privacy: Enhanced shielding features and selective auditability tools for regulated industries.
We are just getting started. Our roadmap focuses on hardening privacy and expanding cross-chain utility:
- Cryptographic Privacy: Transitioning from metadata abstraction to full cryptographic shielding using ZK-proofs or shielded transaction pools.
- Direct Cross-Chain Execution: Moving beyond simulation to native, protocol-level cross-chain contract calls.
- Enterprise ERP Integrations: Seamless plugins for SAP, Oracle, and QuickBooks.
- Compliance Suite: Advanced viewing key management for automated tax reporting and regulatory compliance.
Rohan Kumar
- GitHub: rohan911438
- Team: BROTHERHOOD
This project is licensed under the MIT License. See the LICENSE file for details.
