Behind the Code EP7: Swapa

Search for a command to run...

No comments yet. Be the first to comment.
Behind the Code is a captivating series where we delve into the minds of Project Devs and Key Individuals shaping the Alephium Ecosystem through insightful interviews.
Suricata Rally is a new Tap-to-earn Game on Telegram. It will bring the user closer to the Alephium blockchain and its ecosystem. One can collect coins by tapping the screen, buying boosts and participating in different tasks. Let's get into the inte...
Them also post this report for X thread , you fit read and engage with am for here. "As part of the work wey dey for hand to repair the bridge attack, the Bridge Guardians, in collabo with security pa

Op-Ed by Pepper, Head of Marketing & Growth for Alephium Abeg o: Wetin this writer dey talk for this matter na him own opinion, e no mean say na Alephium official stand. Visit the original article her

Why conviction, utility, and aligned economics matter.

Una Welcome to Alphland platform and Bounties guide! Dis guide go help you understand everything wey you need to put for head so you fit browse, follow other members join bodi, and earn better rewards

Bài viết dựa trên quan điểm của Mo Aalabou, Nhà sáng lập Factor & 1450 Digital Đây là blog do cộng đồng vận hành, dành cho người đóng góp bên thứ ba. Các quan điểm được trình bày tại đây là quan điểm

Swapa is the first veDEX on Alephium, a vote-escrowed decentralized exchange. Its goal is to create deep liquidity on Alephium and allow users to earn a yield on any pool in a fully decentralized, trustless, and permissionless way.
Let's get into the interview!
I'm Esse. I studied physics before dropping out a few years ago to focus on my own business. I was introduced to crypto through Bitcoin and trading meme tokens on ETH and Solana.
At the beginning of this year, I had the idea for an on-chain game. I started to learn to code and tried Solana. But I soon discovered Alephium and found it much easier to start here. The core developers were a big help, as Cheng and Hongchao, among others, would quickly answer any questions in the developers' channel.
I released the first version of Gold Castle Club. The smart contracts are released and functioning, but the game itself is still in development.
Swapa has a small team. I wrote the smart contracts, backend, and most of the initial frontend. Recently, after some well-deserved criticism of the initial UI, we made a new addition to the team. Since then, Minijudie has made many improvements to the UI.
A few months ago there was a discussion in the Alephium discord about new projects. Panxcake made a suggestion in the Alephium discord, that it would be cool to have a veDEX on Alephium. I started asking him questions and soon after I started working on it.
Imagine a DEX where users can lock up tokens to vote on how rewards are distributed, and in return, users get more benefits for voting and providing liquidity, like higher yields and voting power. This is what a Ve(3,3) DEX does. It’s like a game where everyone wins, and it's designed to keep the ecosystem strong and fair. A similar DEX on another blockchain would be Equalizer on Fantom, which also uses this model to align the interests of token holders and users.
A user can earn yield in two ways. The first is voting. You can use your SWAPA and convert it into xSWAPA, which is held by a unique Swapa account (a veNFT). The amount of xSWAPA determines your voting power. By voting on a pool, you earn a share of the fees and bribes on that pool. Bribes are incentives that anyone can add to a pool. For example, an ALPHAPAD pool could have four different rewards: ALPH, SWAPA, xSWAPA, and APAD.
Emissions decay each epoch, meaning that early investors are not overly diluted. The decay is 1% for the first 10 weeks, and 2% after that. Until at week 200 it stabilizes at 200. This can be adjusted if decay gets too low or too high.
Of the initial supply (1.23 million), including the first year's rewards, the SWAPA sold in the presale and added to the ALPH/SWAPA pool, only 0.8% is allocated to the team. 1.4 million is allocated to emissions over the DEX' lifespan. 27400 Will be vested over 50 months. This includes the team, community rewards, partners and rewards for important pools.
Further, the incentive that locking SWAPA into xSWAPA offers also removes some SWAPA from circulation. When xSWAPA is reconverted into SWAPA on a fast track instead of by vesting, a cut is taken and redistributed to liquidity providers.
We have done auditing and extensive testing. The smart contracts were written from scratch for Alephium as this is the first veDEX and there was no example to follow. When making the smart contracts, security has always been the NO 1 concern as it's the most important issue.
Our contracts have not been audited by the core team. We have done our own internal audits, and the contracts have been audited externally.
We'll follow AlphPad's example and open source after a three-month period.
I have a lot of ambitious and innovative ideas on how we can evolve, but it is too early to talk about those ideas. First, we want to improve the core features, especially the UI. We'll listen to feedback from the community and make improvements. Users can expect regular updates and quick fixes.
We collaborate with the number 1 launchpad on Alephium, Alphpad. The Swapa presale will be held there. Candyswap is working on an arbitrage contract, which will enable swaps using pools on Swapa. We have also implemented both https://alphnames.com/ and https://www.alephium.domains/
We have not made a final decision on this yet. It largely depends on when we launch. Alphpad has recently announced a big improvement, the tier system. We'll announce the specifics of the Alphpad listing soon. Apart from staking APAD, which guarantees a whitelist spot, there will be some competitions to earn a spot. This will be announced on the Swapa discord and telegram.
Don't be afraid to take some profit. Get to know people who are more experienced and smarter than yourself.
Surely, taking some profits and meeting awesome people will definitely change your life for the better. That's beautiful. Thank you, Esse!
Swapa is poised to be the first Vote Escrowed Dex on Alephium. If Alephium represents the future of DeFi, then Swapa will embody the future of Ve33 DEXes—Simple, secure and community-owned. Keep in mind, when the L1s do well, their DEXes will also do well. It is a known fact that both Uniswap and Sushiswap have shown remarkable performance during the early ETH days. DEXes can co-exist!
And as we all know, having just one solid DEX pool is not as healthy as we might think. If an L1 only has one source of liquidity, (in our case, AYIN), it risks having a single point of failure. On the flip side, having multiple thin DEX pools is also not ideal and not optimal, as this fragments liquidity, leading to higher slippages. This could change as the very first DEX Aggregator is rumored to be developed by Team AlphPad.
With many projects aiming to launch on Alephium, we prefer to avoid excessive speculation. Always ensure you have a solid foundation for your investment thesis, not just promises and wishful thinking. Swapa will be deployed with a fully functional features on day 1.
That said, Swapa is one of the few projects I am genuinely optimistic about. It checked all my boxes. I am rarely very optimistic about projects, but when I am, I make sure it is something I can be truly proud of. No hype involved. Just a functional Ve33 Dex.
Today, September 2nd: Esse will be working on the AlphPad listing. Please note that the project will only appear on the AlphPad website after they merge it. Given the efficiency of the APAD team, it will likely show up very quickly.
The sale should be two weeks after the listing.
Max raise: 40'000 ALPH.
I'll leave some room for our community analysts to speculate on the 65.7 million APAD tokens currently locked in the APAD vault among 298 stakers who can participate in this IDO.
We're not done yet.
We have 5 whitelist spots that I will give to 5 random community members who will quote tweet this article and write: Swapa x AlphPad IDO. Winners will be announced closer to the sale. Very simple, and everyone is invited! (just like the dex!)
Swapa is now live on testnet, and you can try it here: https://swapa.exchange
Follow their socials:
Twitter: https://x.com/alphswaps
Discord: https://discord.gg/CJ8CJGTmqq (no expiry, I created this myself)
Telegram: https://t.me/swapadex
***Disclaimer:***The information provided in this article is for informational purposes only. It should not be considered financial advice. You should consult with a financial advisor or other professional to determine what may be best for your individual needs. We do not make any guarantee or other promise as to any results that may be obtained from using our content. No one should make any investment decision without first conducting their own research and due diligence. To the maximum extent permitted by law, we disclaim any and all liability in the event any information, commentary, analysis, opinions, advice and/or recommendations prove to be inaccurate, incomplete or unreliable, or result in any investment or other losses. Remember that investing in crypto involves risk, and past performance is no guarantee of future results.