Inspiration
Tranzit was inspired by the ever-growing need for cheap and secure cross-chain transactions in the blockchain world. We envisioned a system that could streamline this process, making it more cost-effective for users. We drew inspiration from the concept of a bustling space station, where transactions board a train and embark on a secure journey across the cosmos!
What it does
Tranzit is a smart contract bridge protocol built on Chainlink CCIP. It acts as a space station for your transactions, allowing transactions to be grouped together and sent as a single, cost-effective batch. This innovative approach reduces gas fees and transaction times, making cross-chain interactions cheaper for everyone.
How we built it
Tranzit leverages the power of Chainlink CCIP to facilitate secure communication between different blockchains. We designed a system with two key phases:
- Boarding: Users "board" their transactions onto the Tranzit platform. This involves including their transactions within a specially encoded message.
- Departure: Once a batch reaches a certain size or a predetermined time limit (e.g., 2 minutes) is met, an automated process triggered by Chainlink automation sends the entire batch as a single transaction. Upon successful delivery, a new batch is automatically initialized for further boarding.
- Fee: fees are deducted from the token being sent
Challenges we ran into
Understanding ccip gas limits was kind of a hassle, transaction batches have different sizes and this can mean variable gas limit. but i got a work around that saves gas for the protocol.
Accomplishments that we're proud of
Working on the project soley was kind of a hassle, from the contract testing to the front end UI. i was able to complete the project. Tranzit offers:
- Seamless Batching: We successfully created a system that groups transactions efficiently, optimizing gas fees and transaction times.
- Chainlink Integration: Leveraging Chainlink CCIP provides a secure and reliable foundation for cross-chain communication.
- Automated Departures: The automatic sending of transaction batches based on size or time limits ensures a smooth and efficient workflow.
What we learned
I learned the importance of balancing functionality with security when dealing with user funds. Building Tranzit provided valuable insights into the complexities of cross-chain communication and the importance of innovative solutions to optimize blockchain transactions.
What's next for Tranzit
- Introducing advanced features like priority boarding for urgent transactions.
- introducing governance. community will be able to update the boarding time and much more
- UI improvements
Built With
- chainlink
- hardhat
- nextjs
- solidity
- viem
Log in or sign up for Devpost to join the conversation.