Introducing AirSwap V4

AirSwap
AirSwap
Published in
4 min readMay 10, 2023

--

With the success of V3 and a stellar year behind us, AirSwap continues to drive the next generation of decentralized trading protocols with AirSwap V4.

Since relaunch in 2021, AirSwap decentralized technologies have enabled over $3.5B in trading volume. Just since the V3 launch last year, 25 proposals have been implemented by 30+ contributors and $2.1B+ in volume — with 100% of protocol fees ($1.42M+) continuously distributed to decentralized governance participants and individual contributors.

Our community is thrilled to unveil the latest version of AirSwap: V4. This update includes new use cases, protocols, and contracts, now deployed across 6 EVMs, including Ethereum, BSC, Polygon, Avalanche, Arbitrum, and RSK — with Linea and Base on the horizon. Read more to explore V4.

New use cases unlocked

V4 is about real-world use cases. We’ve introduced new protocols for discovery, pricing, swapping, and storage, as well as dedicated protocols for ERC20s and NFTs. New applications and integrations have been unlocked and are emerging every day.

Custom community marketplaces

NFT communities can now launch their own decentralized swapping marketplaces with full control over their configuration and operation. AirSwap contributors have already begun developing an open-source reference marketplace for general use.

Searchable bulletin boards

Traders can easily make orders available to be taken by anyone, even if they do not have a specific counterparty available. AirSwap contributors are developing this new functionality into the reference web app frontend, making it more accessible and user-friendly than ever.

Deep and efficient integrations

A galaxy of aggregators and clients underserved by peer-to-peer liquidity can now seamlessly integrate with AirSwap, enabled by new Discovery and LastLook protocols. This means existing integrations will work even more efficiently — and new integrations are now possible.

New and improved protocols

Existing V3 protocols have been improved, expanded, and formalized with the ability to communicate and consume liquidity automatically and efficiently. For a detailed look, see the AirSwap Wiki.

Discovery

With the new Registry contract, peers filter for potential counterparties by both protocols and tokens. Servers can indicate whether they support RFQ, LastLook, or Storage, for all token types or ERC20 specifically. Once a channel is opened, peers communicate this via the getProtocols / setProtocols and getTokens / setTokens methods.

Request for Quote

Introduced in the original Swap whitepaper in 2017, AirSwap RFQ now enables billions in decentralized trading volume every year. Although the core idea has remained the same, protocol efficiency and versatility has been continuously enhanced through experience and iteration.

The new Swap contract makes it possible to swap different kinds of tokens including ERC20, ERC721, and ERC1155 — with room to grow. The new SwapERC20 contract allows for efficient ERC20 swaps between clients and servers. Protocol method names now differentiate between the two.

Last Look

AirSwap LastLook marks the forefront of trading efficiency with pricing communicated in real time between peers. Clients can now compare AirSwap makers and other venues without needing to request hard orders via RFQ or holding an active WebSocket connection.

Storage

AirSwap has always been a natural fit for “bulletin board” style trading. Now, with methods for storing orders via community-run servers, bulletin boards come to life in new ways. Users can create and list OTC orders for public counterparties, or make and list NFT swaps for fellow community members, all made possible by the new Storage protocol.

Contracts in this release

The following have been developed, tested, and analyzed for this release and independently audited audited by PeckShield.

  • Swap: Extensible swaps between ERC20, ERC721, and ERC1155.
  • SwapERC20: Efficient swaps between ERC20s.
  • Wrapper: Use of native tokens (e.g. ETH) on SwapERC20.
  • Registry: Server discovery by supported protocols and tokens.
  • Staking: Ability for token holders to participate in governance.

For the complete v4.0.0 tagged release, see the AirSwap GitHub.

Onward and upward

AirSwap has been laser-focused on peer-to-peer trading technology since 2017. The project is recognized by the St. Louis Fed, MIT Technology Review, Stanford Journal on Blockchain Law and Privacy, among others, cementing its position as the leading peer-to-peer protocol.

AirSwap remains the top choice for traditional firms entering decentralized finance — as AirSwap V4 marks continuous evolution in the power and safety of peer-to-peer swaps. You can also contribute and earn as a member of the community—find out how by joining the Discord.

About AirSwap

AirSwap is a developer DAO focused on decentralized trading systems. Our mission is to develop and steward standard peer-to-peer trading technology in the decentralized economy.

Join our mission today: Discord · Twitter · GitHub · Website

--

--

AirSwap is a developer community focused on decentralized trading systems.