Skip to main content

Swap ETH to DAI on Sushiswap

Context

Sushi is one of the leading DEXes. Liquidity providers need to swap tokens in order to add liquidity to a DEX pool.

Interaction Implementation

This interaction has one step:

  • call the swapExactETHForTokens method of Sushi v2 router contract
  • Wrapped ETH is automatically set as tokenA
  • set DAI token as tokenB

Swap WETH to DAI on Sushiswap