Skip to content

devw/defi-flow

Repository files navigation

DeFi Project

This project demonstrates a simple DeFi contract that facilitates the swapping of WETH9 for DAI using the Uniswap V3 protocol. The contract utilizes the SwapRouter from Uniswap to perform token swaps on behalf of the users. It allows users to transfer WETH9 into the contract and automatically execute a trade to convert it into DAI, ensuring seamless decentralized exchange interaction.

Try running some of the following tasks:

REPORT_GAS=true npx hardhat test
npx hardhat node
npx hardhat ignition deploy ./ignition/modules/Lock.js

DEPLOYMENTS.md

Sepolia Network

  • Swap Contract: 0x3cb29089715Dc67d73228D39073B6bf21Dd8cf2b
  • Deployer Address: 0x25b...
  • Uniswap Router: 0x3bF...
Address Purpose Security Level
0x3cb... (Swap Contract) Your deployed contract address (share publicly) 🔵 Public
0x25b... (Deployer Address) Your EOA (Externally Owned Account) - keep private 🔴 Private
0x3bF... (Uniswap Router) Sepolia's Uniswap router (public infrastructure) 🔵 Public

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published