Swap your crypto currency between multiple blockchain
CCS a cross-chain bridge that uses Wormhole, a protocol that enables communication between different blockchains. CCS allows users to transfer tokens (eg. USDT, BTC, CELO) across chains without swapping or converting them. Instead, the source assets are locked in a smart contract and new Wormhole-wrapped assets are minted on the target chain. These wrapped assets can then be exchanged for other assets on the target chain.
CCS support testnet blockchains. such as Goerli Ethereum, Arbitrum Goerli, BNB Testnet, Moonbase Alpha, Celo Alfajore, Acala Mandala, Aurora Testnet
Website: https://corss-chain-swap.vercel.app/
Github: https://github.com/mdhossain2006/Corss-Chain-Swap
Diagram: https://www.figma.com/file/TXeLJAL8Up83AewyTXkSix/Cross-Chain-Swap?type=whiteboard&node-id=0%3A1&t=pqP8dc4WfEhjI7Ub-1
How it works: User first have to connect Metmask Wallet to continue. Then he has to choose a from and target network. After selecting he has to choose the Coin. For example he can choose ETH or USDT or Celo. Then he will see a wrapped token address. for example if he chooses ETH then target chain wrapped token will be WETH. User will receive WETH in target chain. Cross-Chain Swap uses Wormhole protocol to make this cross chain swap.
Technical Description: We have integrated wormhole protocol in our website. For this we have deployed our smart contract in each chains for those chains has wormhole relayer. And for those chain which does not have wormhole relayer we are using off chain code. We have made this website from scratch. And we have built it in Next.js.
Problem it solves: Cross-chain swap solves several problems that exist in the current cryptocurrency ecosystem, such as:
Security: Cross-chain swap also poses some security challenges, such as:
How to ensure that the tokens are locked and unlocked correctly on both chains?
How to handle network failures or delays that may affect the swap process?
Hash Time Lock Contracts (HTLCs): These are smart contracts that lock the tokens on both chains until a secret random number is revealed by one of the parties. The secret number acts as a proof of payment and allows the other party to claim the tokens on the opposite chain.
Relayers: These are nodes that facilitate the communication and coordination between different blockchains. Relayers monitor the events on both chains and relay the necessary information to trigger the swap.