Inspiration
DEX is a very essential part of a blockchain. Archway network has currently no DEX. That's why we decided to migrate a AMM. ArcSwap will be the first AMM protocol on archway network.
What it does
Uniswap-inspired automated market-maker (AMM) protocol powered by Smart Contracts on the Archway blockchain.
ArcSwap allows you to swap native archway coins for cw20 tokens. Liquidity providers can add liquidity to the market and receive a 0.03% fee on every transaction.
- Swap tokens
- Add liquidity and earn fees
- Withdraw liquidity
- Create a new pool
How we built it
The initial contracts were forked from wasmswap. They were old version contracts. We upgraded the contracts, responses, added tests. After that we deployed the contracts to contantine-1 testnet and tested again contracts
Initial Interface was also forked from wasmswap and then upgraded to be used with archway blockchain interface
Challenges we ran into
There were some challenges with configuration of cosmwasm, compatibility of contracts with archway testnet, How the responses are returned in cosmwasm contracts. But we solved it and tested the contracts very thoroughly
Accomplishments that we're proud of
ArcSwap will be first AMM on archway network. we are very excited for this.
What we learned
We learned so many things in this hackatom, rust, cosmwasm, archway network. The capabilities of cosmos.
What's next for Arcswap
- Contract factory contracts: To keep track of created pools
- Router contracts: Find the cheapest path to make a swap
- TWAP: time weighted average price contracts
- Enhancing UI
- Mainnet Launch
Built With
- archway
- constantine-1
- cosmwasm
- react
- rust
- typescript
Log in or sign up for Devpost to join the conversation.