Atomix by Team Atomix Lab - Seamless Atomic Swaps Across Chains

Project Name: Atomix

Project Track: DeFi

Team Name: Atomix Lab

Team Member(s): 1 member - @atomixLab

DevPost Project Link: Explore Atomix in DevPost

Project Goal: Atomix aims to revolutionize decentralized finance by enabling trustless, peer-to-peer atomic swaps across multiple blockchains. Using Hash Time-Locked Contracts (HTLCs), Atomix ensures secure, direct exchanges of tokens between different chains without the need for intermediaries, custodians, liquidity pools, or bridges. This solution simplifies cross-chain token exchanges while maintaining user control and minimizing transaction complexity.

Project Value: Atomix unlocks a new era of interoperability within DeFi by allowing users to swap NFTs, coins, and tokens across chains natively, without the need to wrap tokens or pass through centralized bridges. The protocol’s core value lies in its ability to enable seamless cross-chain trading, preserving decentralization by keeping users in control of their private keys throughout the swap process. This innovation increases liquidity access and offers a secure, transparent way for users to engage in DeFi across blockchains without the risk of third-party failure or custody issues.

Project Info: Atomix’s detailed information is provided in these Slides, including core features, use cases, and more insights into the protocol’s architecture.

Project Website: Try Atomix here

Project Test Instructions:

  1. Initiating a Swap:

    • User A provides a swap secret text.
    • User A chooses the tokens and blockchains to swap (e.g., TRX on Tron for ETH on Ethereum).
    • User A enters the amount to swap.
    • Atomix creates an HTLC on Tron, locking the TRX tokens.
    • User A receives a link or QR code containing the secret hash.
  2. Linking with a Counterparty:

    • User A shares the secret link/QR with User B or lists the swap publicly.
    • User B, upon finding or receiving the swap request, locks their ETH in an HTLC on Ethereum using the same secret hash.
  3. Automated Monitoring by Atomix:

    • Atomix monitors both blockchains for the secret hash to detect when User B has locked their tokens on Ethereum.
    • Once the ETH is locked, User A can claim the ETH on Ethereum, and User B can claim TRX on Tron using the secret.
  4. Completion or Refund:

    • If both parties fulfill the swap within the set time, the assets are released.
    • If either party does not complete their part, the HTLC expires, and the funds are automatically refunded.

Project Details: Atomix uses Hash Time-Locked Contracts (HTLCs) to execute atomic swaps across different blockchains. These swaps occur directly between two parties, ensuring that either the swap is fully completed or not at all (atomicity).

Benefits of the Atomix Protocol:

  1. Decentralization:

    • Atomix eliminates the need for centralized custodians or liquidity pools. Swaps are handled directly by the users, maintaining decentralization and user control.
  2. Security:

    • Using HTLCs ensures that users retain control over their assets during the swap process. If one party does not fulfill the trade, funds are returned automatically to their original owners.
  3. No Third-Party Risk:

    • There are no intermediaries, bridges, or custodial services involved, removing the associated risks of third-party hacks, fraud, or mismanagement.
  4. Low Fees:

    • Since Atomix does not rely on bridges, liquidity providers, or centralized exchanges, users only pay the standard gas fees for blockchain transactions. There are no additional fees for the swap process.
  5. Cross-Chain Compatibility:

    • Atomix supports multiple blockchains, including Tron, Ethereum, Binance Smart Chain, and Polygon, allowing users to seamlessly swap assets between these chains without the need for wrapping tokens or using bridges.
  6. User-Controlled Swaps:

    • Users are fully in control of their assets and swap terms. Whether users want to swap TRC-20, ERC-20, or BEP-20 tokens, the process is seamless and user-driven.
  7. Cross-Chain and Multi-Asset Support:

    • Beyond token swaps, Atomix is building support for NFTs and other digital assets, ensuring a wide variety of assets can move freely across different blockchains.
  8. DeFi Composability:

    • After completing a swap, users can engage in DeFi activities like staking, lending, or yield farming on the destination chain, creating more opportunities for maximizing value.
  9. No Liquidity Pools or Bridges:

    • Atomix utilizes HTLCs for direct peer-to-peer (P2P) trades.
    • Each trader retains control over their private keys, and the swap occurs directly from wallet to wallet.
  10. Cross-Chain Compatibility:

    • Supports atomic swaps between different blockchains, allowing users to exchange tokens like Tron (TRX) for Ethereum (ETH) without wrapping assets or using bridges.

Smart Contract Links: TronHTLC Contract

Project Milestones:

Milestone Due Date Status Features
Initial Release 09/10 :heavy_check_mark: Completed - Core functionality for HTLC-based atomic swaps between Tron, Ethereum, and Binance Smart Chain.
Milestone 1: Automation & NFT Swap 11/10 :hourglass_flowing_sand: In Progress - Automate secret hash sharing, cross-chain NFT swaps, and add counter-offer feature.
Milestone 2: Multi-Asset & New Chains 15/10 :hourglass_flowing_sand: Planned - Support token-for-NFT swaps, UI/UX improvements, add Polygon, Avalanche, and Fantom support.
Milestone 3: Liquidity Pool Option 22/10 :hourglass_flowing_sand: Planned - Optional decentralized liquidity pools, user-defined swap preferences, enhanced analytics.
Milestone 4: Full Public Release 10/11 :hourglass_flowing_sand: Planned - Public mainnet release on Tron, Ethereum, BSC, Polygon, Avalanche, and Fantom. Optimize performance.

Atomix aims to be the most secure, decentralized cross-chain swap protocol, eliminating the need for custodians, intermediaries, or liquidity pools, and providing true decentralization for DeFi users. We’re open to feedback and community engagement to continuously improve. Let us know your thoughts below!

11 Likes

Til me about it sir with detailled

3 Likes

Sure! when we say Atomix supports atomic swaps between different blockchains like Tron and Ethereum, we mean that you can directly trade tokens (for example, TRX from the Tron blockchain for ETH from the Ethereum blockchain) without needing a middleman like a bridge or wrapped tokens.

Normally, when you want to move or trade tokens across different blockchains, you would use a bridge. The bridge locks your original token (let’s say TRX) on the Tron side and gives you a wrapped version of that token (like wrapped TRX) on the Ethereum side. The wrapped token isn’t the actual token—it’s just a representation of it on the other chain, and that adds complexity and risk.

In Atomix, we eliminate the need for these bridges and wrapped tokens by using atomic swaps concept.

1 Like

Helo
I read this …

In Atomix, we’re embracing the future of seamless exchanges with atomic swaps! No more reliance on bridges or wrapped tokens—just pure, effortless transactions. This innovation empowers users with greater security and efficiency, creating a truly interconnected ecosystem. Together, we’re redefining how value moves in the digital world!

1 Like

Hlo @Smart1 , I’m glad you resonate with the vision behind Atomix. We truly believe that atomic swaps can reshape how value moves across chains, making it more secure, and entirely decentralized.

Welcome to this amazing session 7 of hackathon
Your project’s vision of eliminating intermediaries and providing users with direct control over their assets aligns perfectly with the core principles of DeFi.
But my question is

How does Atomix plan to handle increased transaction volume and network congestion, especially during peak times.

1 Like

Hi @Okorie , great question!

Just to clarify, Atomix is focused on one-on-one, peer-to-peer swaps, which makes it quite different from traditional DEXs. It’s not built for high-frequency trading but rather for secure, direct swaps where users retain full control of their assets.

By using HTLC-based atomic swaps, we avoid common congestion points like liquidity pools or bridges. The process is simpler and more efficient, especially during peak times, since there are no intermediaries or third-party control. This helps reduce network strain compared to more traditional exchanges.

Hope that clears things up!

does this attract extra fees?

BTW welcome to HackaTron S7

1 Like

Welcome to Hackathon Season 7, after a careful read I see this is a decentralized solution for cross-chain token swaps using Hash Time-Locked Contracts (HTLCs). Quite interestingly, your approach promises true decentralization by enabling trustless, peer-to-peer atomic swaps across different blockchains without relying on liquidity pools, bridges, or intermediaries. One thing bares to mind here and raises alot of concerns for me and that’s traffic, what measures are being considered to scale the platform as cross-chain swap volumes increase?

1 Like

Welcome to Season 7 hackathon Sir, To my understanding Atomix aims to create a platform that allows users easily and securely swap tokens across different Blockchain which sound really great.

How does Atomix handle potential disputes or errors that may arise during swaps? Is there a dispute resolution process in place?

1 Like

Hi @atomixLab ,
Idea is good please let me know about how much minimul token is required to deposit here to swap ?
Can you expain process of swap for cross chain ?
I am very thankful to you

1 Like

Welcome to Grand hackathon S7
As this will be a cross chain swap am just wondering that fees might scare users away, am just imagining a swap from eth to Tron or vice-versa , please I would like to know more about the fees wether it would be considerable

2 Likes

@atomixLab
Indeed you have expand my understanding, thanks for taking your time in explaining and responding to my question.
All dbest buddy

1 Like

Welcome to the Hackathon of season 7, thank you for sharing you’re project with us as I am having fun reading, please tell me what is your project milestones, thank you

1 Like

Hi @Prince-Onscolo , The great part about Atomic swaps is that they’re designed to minimize fees since there’s no need for intermediaries like liquidity pools, bridges, or centralized exchanges. You will only need to pay the blockchain transaction fees on both the chains involved in the swap, but there are no additional fees like you’d encounter with centralised platforms or wrapped tokens

So, the only cost comes from the underlying blockchain transactions alone.

This is one of the big advantages of Atomix over other cross-chain exchanges :grin:

1 Like

Thank you for the thoughtful question and for diving into the details @manfred_jr !
Atomix isn’t designed for trading at scale like a traditional DEXs, which handle high-frequency trades and require liquidity pools or automated market makers (AMMs) kind of things. Instead, Atomix is built for one-on-one, direct swaps, meaning each swap is negotiated between two parties without intermediaries. Because of this, the traffic Atomix handles is quite different from that of traditional DEXs, which must support constant liquidity across many token pairs.

About our concern on Traffic and Scaling, Atomix doesn’t need to maintain continuous liquidity or execute trades at a high frequency. Since each swap is between two users directly, the platform isn’t burdened by a high volume of simultaneous trades,
Each swap is processed individually, which reduces the risk of congestion.

To make it simple, Atomix is focused on secure and trustless transactions, not high-volume trading.

2 Likes

Hi @Relate101 , Atomix aims to enable secure and seamless cross-chain token swaps. One of the key elements of keeping swaps trustless and secure is how we handle potential disputes or errors.

The term “atomic” essentially means that the swap either completes fully or not at all. In other words, both parties must fulfill the conditions of the swap, or the transaction won’t proceed. If an issue arises, such as one party not completing their part of the swap, the HTLC (Hash Time-Locked Contract) ensures that all assets and even gas fees are automatically returned to their original owners, so nothing is lost.

To further enhance security, we’ve also implemented a custom code(SafeTRC20) that adds an extra layer of verification for token transfers on the Tron network. This ensures that all swaps happen as securely as possible, preventing common issues with token transfers and ensuring the safety of the transaction.

1 Like

Hi @Anderson , thank you for your kind words! I’m glad you find the idea interesting.

To clarify, Atomix doesn’t require staking in the traditional sense. Instead, during an atomic swap, both parties lock their tokens (the ones they’re swapping now) in a Hash Time-Locked Contract (HTLC). The minimum amount required for a swap depends on the tokens being exchanged and the network’s transaction fees, but typically, there’s no minimum limit imposed by Atomix itself, it’s mainly the gas fees on the respective blockchains that apply.

Atomix supports multi-asset, cross-chain, and intra-chain swapping.

Cross-Chain Swap Process:

The process starts when User A selects the blockchain and tokens they wish to swap (e.g., TRX for ETH) and confirms the details. Atomix automatically manages the entire locking and generates a secretHash.

By default, the swap request is placed in the the Atomix platform, allowing any user to review the order and initiate the swap and Atomix handles the locking of their equivalent tokens and the rest of the process of swapping automatically.

I’m also planning to add support for NFT swaps and a counter-offer mechanism for trade negotiations.

Alternatively, if User A knows a specific person they want to swap with (User B), they can share the secretHash link with them. User B can use the link to initiate the swap on their end by locking their tokens (for example, on Ethereum). Once both parties have locked their tokens, Atomix automates the rest, ensuring the swap completes successfully, or refunds the tokens if something goes wrong.

In both methods, Atomix ensures a trustless and secure process, with tokens returned to their owners if any issue arises.

Let me know if you need more details!

Hey @Nweke-nature1.com , thanks for this great question!

You’ve raised an excellent point about fees, especially when swapping between chains like Ethereum and Tron. Recently, I tried swapping $5 USDT to USTC, and it cost me around $1 in transaction fees alone :smiling_face_with_tear:. That pain point is exactly what inspired me to come up with Atomix.

In Atomix, the fees are primarily the gas fees on each blockchain, which users need to cover for their transactions. However, because there are no middleman fees for bridges, liquidity pools, or relays, there’s no extra cost for those services. Additionally, there are no additional platform fees for the swap itself. So unlike centralized exchanges or DEXs that may charge extra fees on top of gas, in Atomix, you’ll only pay the standard blockchain transaction fees nothing extra for the swap.

1 Like

Thanks for the kind words :blush: