How to Build a Simple Token Swap DApp using the 0x Swap API

Learn how to build a token swapping dapp, similar to a simple Matcha.xyz, using the 0x /swap API endpoint.

This app aggregates liquidity across the greater DEX ecosystem using 0x to surfaces the best price to the user and allow them to easily settle their trades!

Follow Along to Learn

  • 💦 What is liquidity aggregation?
  • 🪟 Query + Display an ERC20 token list
  • ♻️ Use @0xProject API's /swap endpoint
  • 🧱 Build a Swap Dapp with Metamask and Web3.js

Video and Written Tutorial