Etherlink: Scenario 4 - conventional NFT dApp
Context
The nft_marketplace_alchemy_rtw3_7 external repository answers the following task of the End-to-end, real world scenarios project:
Scenario 4: conventional NFT dApp
- Basic scenario of an NFT dApp using Etherlink as blockchain layer.
The code for the dApp used in the scenario can be found in here and the live website can be be found here.
The code of the Marketplace contract is in NFTMarketplace.sol and it is deployed with deploy.js.
Actions:
- Developer can use the Marketplace contract
- Developer can deploy the contract on any EVM chains (using hardhat tool)
- Developer can connect the Marketplace easily by changing only the connection button to fit the network
- Users can connect their Metamask wallet to see the list of the NFTs and interact with the dApp
- Basic connection between the Metamask and the dApp
- Add and/or switch the good network setup for the dApp (Nightly or Etherlink ghostnet)
- Users can create a token and list it on the dApp
- The token is created with the good URL (the good image, name, price and description)
- The owner can see the NFT on his profile and on the explorer
- Users can buy listed tokens on the dApp
- Select a token listed on the Marketplace and make a transaction to buy it
- The new owner can see it on his profile and on the explorer
Except for the 0., these actions need to be done manually directly on the dApp either locally or on the live website.
Action 0. concerns the deployment of the marketplace and need only to be done once. It has been validated by @camille.bouzerand by deploying the live website.
As files are kept on a separate repository, we are not putting too many efforts on reviewing code quality. Reviews should focus more on whether the scenario covers the good usage of Etherlink by the dApp.
Manually testing the MR
I recommend testing the dApp directly on the live website. Otherwise, you will need to follow the instructions to run it locally like described here.
Checklist
-
Select suitable reviewers using the Reviewersfield below. -
Select as Assigneethe next person who should take action on that MR