In this two-part tutorial, learn how to quickly set up a maker for AirSwap Instant using the new AirSwap Maker Kit and zero-config deployment with Vercel.

AirSwap is a peer-to-peer token trading network. In Part 1 of this tutorial we built a simple maker bot, ran it locally, and queried it. Now, we’ll walk through a few final steps to deploy our maker to the cloud and query it via AirSwap Instant.

Deploying with Vercel

This is probably the easiest part of the tutorial, because Vercel makes deployment so easy. Simply run the following command inside of airswap-vercel-example/

When the deployment…


In this two-part tutorial, learn how to quickly set up a maker for AirSwap Instant using the new AirSwap Maker Kit and zero-config deployment with Vercel.

AirSwap is a peer-to-peer trading network for Ethereum tokens. Traders connect to each other based on common interest, agree on price through mutual cryptographic signatures, and settle trades without intermediaries. It’s a good system for makers, with no deposits or costly price updates to on-chain order books.

The Swap protocol facilitates a wide variety of trading methods trustlessly. The most popular method to date is the RFQ style system that powers AirSwap Instant. When you request a price on Instant, responses come from automated bots built by developers. …


Today, we’re proud to announce DexIndex— An open source tool that searches Ethereum decentralized exchanges to find the best token prices. You can try it now at DexIndex.io. It’s free, and always will be.

Why DEX?

Ethereum offers a rich decentralized exchange or “DEX” ecosystem in 2019, and new projects are popping up all the time. The most popular DEX’s are carving out niches and meeting demand for many different use cases. Some examples include programmatic token conversion (Kyber), traditional order book replication (IDEX), and settling OTC style trades (AirSwap).

Get the best price, anytime

All these options fill different needs, but one common question remains unanswered…


In the previous tutorial, we learned how to publish trade intents on the AirSwap network and programmatically serve orders to takers. Now that we’ve learned how to make liquidity on AirSwap, let’s talk about building applications that take liquidity.

Requirements

Source Code

Full source code for this tutorial is available here: https://github.com/airswap/developers/tree/master/tutorials/airswap-taker-bot-tutorial

Set Up

First, make a new folder and create a JavaScript file called takerBot.js


In Part 1 of the AirSwap Developer Series, we learned about the roles of Makers and Takers. We also learned how to use the API Client Server to request orders and fill them. In Part 2, we’ll build a simple Order Server which will allow us to signal intent to trade as a Maker on the network.

Requirements

  • NodeJS 7.6 or higher.
  • An Ethereum private/public key pair.
  • Some test Ethereum to use on the Rinkeby network. You can get some from the faucet.
  • At least 250 test AST to use on the Rinkeby network. …


If you told me in 2005 that Apple would become the most valuable company in American history by selling mobile phones, I’d have called you crazy. The truth is, everyone would have called you crazy. No one could have anticipated the speed at which internet-powered phones would become ubiquitous. The smartphone evolved from a novelty gadget to an essential commodity in just a few years. The photo below illustrates this phenomenon perfectly:

Michael Sohn / Associated Press

While 2005 doesn’t seem long ago, it was a much different time. We were on the brink of a mobile computing revolution. Industry giants like Google, Microsoft, and…

Graham Perich

👨‍💻 Software Engineer - building the future of trade @AirSwap

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store