hackquest logo

Sam's Web3 Ground

Use a token called "Water" to trade NFTs called "Plant".

Videos

Description

This project has been deployed. Click here to reach it.

Tips:The contract is deployed on the Mantle Sepolia Testnet. Any transactions in the project only involve simulated assets, not real ones.

Project Introduction

Simply put, the main function of this project is to use a token called "Water" to trade NFTs called "Plant".

There are 2 roles in the project, one is the contract owner and the other is the ordinary user.

  • What can Ordinary Users do ?

Ordinary users need to prepare some native tokens, namely MNT. Then you can do the following.

  1. Use MNT to exchange Water Tokens on this website. The exchange ratio is 1 : 1.
  2. Use Water Tokens to purchase any Plant NFT on this website. Each successful transaction will increase the price of NFT by 0.01 wat.
  3. When a user becomes the owner of a Plant NFT, he can also choose to burn it. After burning, the NFT cannot be traded any more.
  • What can Contract Owner do ?

In addition to doing what ordinary users can do, contract owner can also do the following things.

  1. Mint Water Tokens for any account.
  2. Mint Plant NFT for any account.
  3. Withdraw the native token (MNT) in the contract to your own account.

After ordinary users exchange MNT for water tokens, MNT is stored in the contract. Therefore, the contract owner can withdraw MNT from the contract to his own account at any time.

Progress During Hackathon

In order to practice, I developed this project. After completing this development, I have a better understanding of the web3 field. I learned how to write some simple smart contracts, and how the front end communicates with the contract end. web3 is a very interesting new field for me. I hope to find a web3 job in the future.

Team LeaderCCaptain Sam
Sector
DeFiNFT
Winner Track
Champion

Honorable Mention

HackQuest Monthly Hack - Nov

Builders Also Viewed