Jalebi Protocol
A strategy game and swap protocol played with Jalebis.
Created on 10th December 2023
•
Jalebi Protocol
A strategy game and swap protocol played with Jalebis.
The problem Jalebi Protocol solves
This project integrates 1inch fusion API to perform $JLB (Jalebi) token swaps. Jalebi aims to be a play-to-win protocol where players challenge one another and battle their friends with Jalebis. One can get $JLB through the interface itself (thanks to 1inch fusion API).
Jalebi are ERC20 tokens deployed from a custom contract inheriting from OpenZeppelin's ERC20 implementation. JalebiProtocol is the custom implementation of the game with challenge(), accept(), and battle() functions.
The contracts are deployed on: Polygon zkEVM testnet, Scroll Sepolia Testnet, Sepolia Testnet, and Linea Testnet.
The contracts can be found here:
- 0x978ad5f2baa8f32e1e67c389ace822190a3e5dbe (Protocol contract on Linea testnet)
- 0x8652f9668947174998faa10faa6e2c1a82c1adae (Token contract on Linea Testnet)
Challenges I ran into
-
I tried to integrate Infura's Gas API for efficient gas price suggestions but the API seems to be broken. Had to fall back to 1inch Gas API.
-
Almost all Linea test faucets were dried or out of service so had to procure LINEA from friends.
Tracks Applied (4)
1inch Track
1inch Network
Polygon Track
Polygon
MetaMask Track
MetaMask
Scroll Track
Scroll
Cheer Project
Cheering for a project means supporting a project you like with as little as 0.0025 ETH. Right now, you can Cheer using ETH on Arbitrum, Optimism and Base.

