Skip to content
This repository has been archived by the owner on May 12, 2023. It is now read-only.

gonzalolater/RTW3-WEEK9-How-to-Build-a-Token-Swap-Dapp-With-0x-API

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Note 📣 After May 8, 2023, all API requests without an API key will return an error. Legacy code examples may contain requests without API keys. Follow this guide for how to get a live API key and use it for any 0x products.

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


Teacher

  • Jessica Lin
  • Developer Advocate, 0x Labs.

Reading code, interacting with CoinGecko API and writing down important information.


NFT

Built a Token Swap Dapp with 0x API https://testnets.opensea.io/assets/goerli/0xf4910c763ed4e47a585e2d34baa9a4b611ae448c/5650374730150659443715928048758275365410007916752074954041965403840314343425

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 53.5%
  • HTML 38.8%
  • CSS 7.7%