Verifiable, private, cross-chain payment infrastructure. Built during Aleph Hackathon.
CrossPay enables secure payments across multiple chains with privacy preservation (Zama FHE), validator security (Symbiotic), permanent storage (Filecoin), and oracle integration (Flare).
Core Infrastructure: Payment processing, storage, oracles Advanced Security: Privacy, validation, risk management
- Privacy Layer: Zama FHE encrypted payments with selective disclosure
- Validator Network: Symbiotic consensus with BFT validation
- Risk Management: Multi-tranche vault with slashing protection
- Analytics System: Real-time monitoring and metrics
pnpm install
cd contracts && forge deploy
cd ../app && pnpm dev
docker-compose up # Optional services- Contracts: Core payment logic, privacy (FHE), security (validators), oracles, attestations
- Services: Payment processor (Go), storage worker (Go), relay network (Go), AI copilot (TS)
- Frontend: SvelteKit app with chain-specific routes
- Mini App: Base MiniKit for mobile payments
| Network | Purpose | Features |
|---|---|---|
| Symbiotic | Security layer | Relay validators, tranche vault, DVN |
| Lisk | Main deployment | Core payments, ENS, attestations |
| Base | Consumer app | Mini app, viral sharing |
| Zama | Privacy | FHE encryption, selective disclosure |
| Flare | Oracles | FTSO pricing, FDC proofs, RNG |
| Filecoin | Storage | Receipt storage via IPFS |
| AI (Protocol Labs) | AI Services | Copilot, risk scoring, normalization |
| ENS | Identity | Name resolution, subnames |
| Citrea | Bitcoin | BTC-denominated escrow |
interface IPaymentCore {
function createPayment(address recipient, uint256 amount, bytes32 metadata) returns (uint256);
function completePayment(uint256 id);
}
interface IConfidentialPayment extends IPaymentCore {
function createPrivatePayment(address recipient, euint256 amount);
function grantDisclosure(uint256 id, address viewer);
}POST /api/pay- Process paymentPOST /api/validate- Request validationPOST /api/storage/upload- Store receiptPOST /api/ai/risk- Risk scoring
- Technical Architecture - Complete system architecture and integration details
- Track Requirements & DoD - Implementation checklist per blockchain
MIT