Inspiration
dex is a cool product wana build it
What it does
Highly performant aeternity-based perpetual futures DEX. (like Lighter, Hyperliquid, & others.
Uses aeternity oracles, and upgradable to aeternity state channels.
Offer a lightnings fast DEX experience allowing users to invest in their favorite assets, and to speculate on asset prices like AE, BTC, ETH and SOL. (currently python-based implementation to implement in hackathon timeframe)
- supports mainnet/testnet Superhero wallet
- allows to place short/long positions on top assets like AE, BTC, ETH, SOL
- sophisticated chart (!) & other core dex functionality
- live connection to aeternity block data
design overall involved an AMM-based design (not implemented yet) where the exchange would act as the counterparty to user. alternatively, an orderbook-based design is also possible to implement, but AMM would be better initial method if liquidity isn't established yet
How we built it
- clicked a lot of buttons on keyboard and magical rocks inside device computed cool things
- frontend React
- backend Python + Sophia smart contracts
in future can migrate functionality away from Python and over into aeternity chain using state channels
Challenges we ran into
- charts are really difficult to make
- misconfigured redis for long time
- vercel a billion compilation errors
- a lot of moving parts overall
Accomplishments that we're proud of
it works it's rly good product with good design
What we learned
dexes v hard product to build
What's next for Claer - decentralized perpetuals
To make it a proper decentralized exchange, we will migrate exchanging logic fully over to Sophia smart contracts. Then, to make it lightning-performant, add state channels which will enable users to trade and swap in sub-100ms speeds.
(and then just make it really nice. can add spot, can add stocks perps, can implement primitive AMM so the dex has its own "balance" and can act as a counterparty to users)
Built With
- aeternity
- fastapi
- pydantic
- python
- railway
- react
- redis
- requests
- sophia
- superhero-wallet
- tailwind
- typescript
- vercel
- vercel-kv

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