hackquest logo
  • 学习
  • 课程探索
  • 实战
  • 探索黑客松
  • 往期项目
  • 社区
  • 论坛
  • 全球活动
  • 我的社区
  • 共学营
  • 组织中心
  • 更多
    • 词汇表
    • 博客
    • 水龙头
    • 工作机会
    • 媒体工具包
    • 创始人
hackquest logo

Automated Market Maker(AMM) Project

The Project enables decentralized token swaps using liquidity pools. It allows users to add/remove liquidity and trade ERC-20 tokens with prices determined by a mathematical formula.

视频

技术栈

Solidity
Web3

描述

The Automated Market Maker (AMM) is a decentralized trading mechanism that allows users to trade assets without the need for order books. Instead, liquidity is provided by users who add tokens to liquidity pools, and trades are made against the reserves of these pools. The price of assets is determined by a mathematical formula, ensuring liquidity at all times.

This contract implements a basic AMM for two tokens, allowing users to add liquidity, remove liquidity, and swap between two ERC-20 tokens. It uses a simple constant product formula (x * y = k) to maintain the balance between token reserves and facilitate trades.

融资状态

NA
队长
CChirag Gurjar
项目链接
赛道
DeFi