Inspiration
Linera with its microchains architeture piqued my interest, as it is easily scalable, and be very cheap in term of storage. After i try to learned Linera Protocol.I builded the swap app base on amm in github of Linera.
What it does
Swap application, we can swap token build on Linera protocol.
- Connect Wallet (Now i just demo with connect account instead)
- Swap two token pair
- Change to pair with button change or modal select token
- Information account and token balance.
How we built it
For Linera Protocol
- Set up SDK of Linera protocol
- Run amm examples in Linera github (https://github.com/linera-io/linera-protocol/tree/main/examples/amm)
For Front-End
Install Nodejs
Clone project from my github (https://github.com/edwardluu/hackathon-linera-swap)
Install and run project base on readme file
Challenges we ran into
Setup Linera protocol and running it. Integrate multiple apollo clients to query with graphql.
Accomplishments that we're proud of
Can swap two pair token and run as time no need refresh page.
What we learned
Understanding of setup and run Linera microchains with Linera sdk Understanding of decentralized applications with Web3. Enhanced skills in GraphQL. Improved our ability to design and deploy scalable web applications.
What's next for Mun Swap App
- Swap base on Ratio AMM, calculate gas fee.
- Transfer section,
- Staking section.
- Improve UI to smooth and friendly
- Real time
- Add watch chart base on token swap
- Connect wallet.
Built With
- grapql
- linera-protocol
- nextjs
- tailwind

Log in or sign up for Devpost to join the conversation.