c0gito is a privacy-preserving cross-chain transfer protocol that enables completely confidential cryptocurrency transfers between users. c0gito ensures that transfer details remain encrypted
c0gito is a privacy-preserving cross-chain transfer protocol that enables completely confidential cryptocurrency transfers between users. By leveraging Oasis Sapphire's confidential computing capabilities and Hyperlane's cross-chain messaging, c0gito ensures that transfer details (recipient, amount, memo) remain encrypted and private throughout the entire transaction lifecycle.
Traditional blockchain transfers expose sensitive information on-chain:
Recipient addresses are publicly visible
Transfer amounts are transparent
Transaction memos are readable by anyone
Privacy concerns prevent adoption in sensitive use cases
Encrypting transfer payloads using X25519DeoxysII encryption before on-chain submission
Confidential processing on Oasis Sapphire, where decryption happens in a trusted execution environment
Cross-chain architecture using Hyperlane to bridge between Mantle (public) and Sapphire (confidential)
Real-time indexing with Ponder for transparent tracking without exposing private data
PrivateTransferIngress (Mantle Sepolia)
Accepts deposits (Native MNT)
Escrows funds
Forwards encrypted payloads via Hyperlane
Releases funds upon receiving decrypted instructions
PrivateTransferVault (Oasis Sapphire)
Stores encrypted transfer payloads
Decrypts using Sapphire's confidential computing
Builds release instructions
Sends instructions back to Mantle via Hyperlane
Ponder Indexer
Indexes events from both chains
Tracks deposit and transfer status
Provides GraphQL API for frontend
c0gito Service
Monitors pending transfers
Automatically processes transfers on Sapphire
Handles acknowledgment flow
Frontend (Next.js)
User-friendly interface for deposits and transfers
Real-time status tracking
Privacy-focused UX
Evril Fadrekha Cahyani
Telegram : @piyonvls
Discord : @piyo
Email : magacalarth@gmail.com
Github : https://github.com/evrilfc


The MVP includes a full-stack implementation: Solidity smart contracts (PrivateTransferIngress and PrivateTransferVault) enabling private cross-chain transfers between Mantle Sepolia and Oasis Sapphire through Hyperlane's cross-chain messaging protocol, a Next.js 16.1.1 frontend with React and TypeScript featuring an intuitive deposit interface, private transfer initiation with recipient address and memo fields, real-time transaction status tracking, and recent transfers history display, client-side encryption using X25519DeoxysII from Oasis Sapphire's confidential computing library to encrypt transfer payloads (recipient, amount, memo) before on-chain submission, confidential decryption on Oasis Sapphire's Trusted Execution Environment (TEE) where the Vault contract securely processes encrypted data without exposing sensitive information to the public blockchain, a Ponder indexing layer providing a GraphQL API for real-time deposit and transfer status tracking across both chains, wallet integration with Wagmi and RainbowKit for seamless Web3 interactions, and a Node.js service layer that monitors pending transfers and automatically processes them on Sapphire. The platform addresses traditional blockchain privacy issues—public visibility of recipient addresses, transparent transfer amounts, and readable transaction memos—by implementing end-to-end encryption with client-side key generation, forwarding encrypted payloads via Hyperlane's cross-chain messaging to Oasis Sapphire for confidential decryption, and ensuring that only encrypted hashes are visible on the public Mantle blockchain while actual transfer details remain completely private. Currently deployed on Mantle Sepolia testnet and Oasis Sapphire testnet with comprehensive testing including 17 test cases covering deposits, transfers, mappings, and edge cases. The architecture demonstrates a scalable approach to privacy-preserving cryptocurrency transfers, combining smart contract automation with confidential computing capabilities to enable truly private cross-chain transactions in the Web3 ecosystem.