CardaTron

Cross-chain atomic swaps: ETH ↔ Tron/Cardano via 1inch Fusion+ protocols on Fluence VMs

Visit Repo
CardaTron banner

About

CardaTron is a comprehensive cross-chain atomic swap platform that enables trustless token exchanges between Ethereum (EVM) and non-EVM blockchains - specifically Tron and Cardano. The project directly integrates with 1inch's Limit Order Protocol to facilitate bidirectional swaps while maintaining full decentralization and security following all 1inch Fusion plus protocols.

How it's made

Technology Stack: Smart Contracts: Solidity (EVM/Tron), Plutus (Cardano) Backend: Node.js with Express, Python services Frontend: Next.js with React, TypeScript Blockchain Integration: Ethers.js, TronWeb, Cardano SDK Infrastructure: Fluence Virtual Servers (CPU-only VMs) AI Components: Custom chatbot with uAgent integration

Features:

1inch Limit Order Protocol Integration : Custom CrossChainSettlement Contract: Extends 1inch's proven architecture for cross-chain compatibility fillOrderArgs Deployment: Uses 1inch's fillOrderArgs function to deploy escrows as mandated by bounty requirements Order Structure Compatibility: Maintains full compatibility with 1inch protocol's order schema and validation SafeERC20 Integration: Leverages SafeERC20 libraries from 1inch ecosystem for secure token transfers Direct LOP Integration: Seamlessly integrates with existing 1inch Limit Order Protocol infrastructure.

Hash Time Locked Contracts (HTLC) Implementation: Atomic Swap Guarantees: HTLC ensures either both parties receive tokens or both get refunds Hashlock Mechanism: Cryptographic secret-based fund locking across all supported chains Timelock Security: Multiple deadline phases preventing fund lockup and enabling safe cancellation Cross-Chain Secret Sharing: Secure revelation mechanism ensuring atomic execution Bidirectional Support: HTLC implementation works for both EVM → Non-EVM and Non-EVM → EVM swaps

Advanced Escrow System:

CREATE2 Factory Pattern: Deterministic escrow address generation using EscrowFactory Source & Destination Escrows: Separate escrow contracts for each chain in the swap pair Minimal Proxy Architecture: Gas-efficient escrow deployment reducing transaction costs Multi-Phase Withdrawal: Private and public withdrawal windows with safety mechanisms Emergency Cancellation: Timelock-based fund recovery preventing permanent lockup

Resolver Network & Safety Mechanisms:

Decentralized Resolver System: Network of resolvers facilitating cross-chain coordination Safety Deposit Staking: Resolvers stake funds ensuring honest behavior and swap completion Public Enforcement: Community members can complete stalled swaps and claim resolver deposits Slashing Protection: Multiple validation layers preventing malicious resolver behavior Automated Monitoring: Real-time blockchain monitoring for resolver performance tracking

Cross-Chain Architecture:

Bidirectional Swap Support: Full support for swaps to and from Ethereum (qualification requirement) Multi-Network Compatibility: Supports Ethereum Sepolia ↔ Tron and Ethereum Sepolia ↔ Cardano Onchain Execution: All token transfers execute onchain as required for final demo Atomic Guarantees: Either all swaps complete successfully or all funds return to original owners Real-Time Coordination: WebSocket-powered backend coordinating multi-chain operations Security & Trust Minimization:

Trustless Operation: No centralized authority required for swap execution Cryptographic Proofs: HTLC secret verification ensuring atomic properties Multiple Timeout Layers: Graduated deadlines preventing any scenario of permanent fund loss Resolver Accountability: Economic incentives and penalties ensuring reliable service Emergency Recovery: Multiple escape hatches for fund recovery in edge cases Production-Ready Infrastructure: Git Commit History: Comprehensive development history meeting qualification requirements Fluence VM Deployment: CPU-optimized services deployed on Fluence Virtual Servers Scalable Architecture: Auto-scaling resolver network handling increased swap volume Monitoring & Analytics: Complete swap lifecycle tracking and performance metrics User Experience: Intuitive interface abstracting cross-chain complexity from end users

From the public ETHGlobal showcase page. Votes, swipes and the judge score are hackfeed's own.

AI judge

Not judged yet. A free model reads this page, compares it with similar projects and this event's winners, then scores it and says what would make it win.

Still being built?

Not checked yet.

Swipe stats

0upvotes
0skips
0saves

Discussion 0

No comments yet. Ask the team something, or say what you'd use it for.

Posting as a guest. Plain text, 1,000 characters max.

Already built nearby

Closest projects by meaning and shared words. Similar isn't the same as copied: read them.

FusionpusAptos

captures the cross-chain capability, atomic swap tech, real-time matching, and 1inch integration

Fusion Plus Tron

Cross-chain atomic swaps between Tron and 9+ blockchains using HTLC smart contracts

Cardano warmhole

Cross-chain swap protocol enabling secure, atomic token swaps between Ethereum and Cardano testnets.