Introducing CrossChainPort 🌉: A decentralized cross-chain liquidity platform powered by Chainlink CCIP. Say goodbye to burns, wraps, and intermediaries—swap assets seamlessly across chains with unmatched security and simplicity! 🚀
Prize Pool
Prize Pool
Prize Pool
permissionless, low fess, secure
We deploy the factory contract on all the source and destination chains. Each FACTORY DEPLOYS TWO LIQUIDITY POOLS cross chain, connected through CCIP. They can exchange tokens across chains. Liguidity providers deposit tokens to provide liquidity and earn fees. Used Create2 opcode while deploying 2 cross chain pools.
We are bridging native currency without wrapping across chains. For generating random numbers while deploying pools using create2 opcode via pyth entropy contracts for generating random salt.
We are using worldcoin for generating and verifying world id using the zk identity proofs.
We have deployed, verified our contracts via blockscout, and displayed the transaction hashes geneartyed utilizing the blockscouts block explorers.
We are using pyth to update onchain pricefeeds.
CrossChainPort is a decentralized cross-chain liquidity platform powered by Chainlink CCIP. Say goodbye to burns, wraps, and intermediaries—swap assets seamlessly across chains with unmatched security and simplicity! 🚀
Here’s how we built it:
Cross-Chain Messaging with Chainlink CCIP:
Leveraged Chainlink’s Cross-Chain Interoperability Protocol (CCIP) to securely connect liquidity pools across chains. This allows seamless native asset transfers without relying on wrapping, burning, or centralized intermediaries.
Factory Contract Design:
Deployed factory contracts on source and destination chains. Each factory deploys two interconnected liquidity pools using CCIP. Used the CREATE2 opcode to deterministically deploy pools with predictable addresses, ensuring consistency across chains.
Native Currency Bridging via Polygon AggLayer:
Bridged native tokens directly without wrapping, simplifying the user experience and enhancing trust. Liquidity providers deposit tokens into these pools, enabling cross-chain swaps and earning fees for their contributions.
Identity Verification with Worldcoin:
Integrated Worldcoin’s zk-proof-based identity system for generating and verifying World IDs. This ensures secure, sybil-resistant, and decentralized identity verification while preventing malicious activity.
Real-Time Price Feeds with Pyth:
Generated random salts for CREATE2 operation via Pyth Entropy Contracts, adding randomness and security to pool creation. Integrated Pyth price feeds to ensure accurate, on-chain pricing for swaps, reducing risks of price manipulation.
Contract Deployment and Transparency:
Deployed and verified contracts across multiple chains using Blockscout. Displayed transaction hashes and deployment details via Blockscout explorers to enhance transparency.
User Interface and Wallet Integration:
Built a responsive UI using Next.js, TailwindCSS, and ethers.js to interact with the deployed smart contracts. Integrated ConnectKit for wallet connections, ensuring a smooth and secure user experience. Hacky and Notable Features:
Deterministic cross-chain pool creation using CREATE2 with random salt from Pyth Entropy Contracts is a standout technical achievement. Direct native token bridging eliminates the need for traditional wrapping mechanisms, addressing a major pain point in existing platforms. By combining innovative tools and decentralized technologies, CrossChainPort delivers a secure, efficient, and user-friendly cross-chain liquidity solution! 🚀