Can I directly swap ETH with an ERC-20 token on DEX like Uniswap?

This page summarizes the projects mentioned and recommended in the original post on /r/ethdev

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • v2-periphery

    🎚 Peripheral smart contracts for interacting with Uniswap V2

  • u/lapurita is right. Uniswap has periphery contracts which are created solely to make the end user experience easier. They have a function to swap ETH for tokens, but the first step is to convert ETH to WETH and then make the swap. Take a look at the Uniswap (v2) source code to see for yourself: https://github.com/Uniswap/v2-periphery/blob/master/contracts/UniswapV2Router02.sol

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts