Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

task4:missop #1415

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

task4:missop #1415

wants to merge 4 commits into from

Conversation

missop
Copy link

@missop missop commented Oct 22, 2024

使用ethers.js和wagmi与NFTMarket合约交互

任务目标

使用ethers.js和wagmi库编写一个前端应用程序,允许用户上架NFT并使用ERC20代币购买NFT。

前端组件要求

  • 连接钱包:用户可以通过MetaMask连接他们的钱包。
  • 上架NFT:用户选择NFT设置价格上架到市场。
  • 显示上架的NFT:显示所有上架的NFT,包括NFT的合约地址、Token ID、价格和卖家地址。
  • 购买NFT:用户可以选择一个上架的NFT并使用ERC20代币进行购买。

效果截图

截屏2024-10-22 22 35 36

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant