Use a token called "Water" to trade NFTs called "Plant".
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.
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.
Ordinary users need to prepare some native tokens, namely MNT. Then you can do the following.
In addition to doing what ordinary users can do, contract owner can also do the following things.
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.
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.
HackQuest Monthly Hack - Nov