Use Case 1. NFT P2P Trading
Last updated
Last updated
Let's explore how users can trade NFTs peer-to-peer (P2P) on Ragon. For P2P NFT trades, we will use a smart contract that facilitates the exchange of NFTs.
The P2P NFT Marketplace contract is a smart contract that allows users to trade already minted NFTs (ERC-721 standard compatible) without any fees.
This smart contract is a sample created for demonstration purposes in Ragon and can be replaced with any contract that offers the same functionality.
View NFTs for sale
Purchase NFTs
List NFTs for sale
Cancel an NFT listing
Modify the sale price of an NFT
You can check the details of the smart contract below:
Register the application to sell NFTs.
At this point, you can connect it to the NFT Marketplace contract. (If not connected, buyers can visit the marketplace application to proceed with the transaction.)
Grant permission to the NFT Marketplace contract to sell your NFT (NFT Contract - approve).
List the NFT for sale on the NFT Marketplace contract (Marketplace Contract - listNFT).
The seller can cancel or change the price of the listed NFT at any time before it is sold. Once sold, the payment is automatically settled and transferred to the seller's registered wallet.
Find the NFT you want to buy.
Verify that the NFT is listed on the NFT marketplace (Marketplace Contract - getListing).
Do not automatically trust the NFT Marketplace contract the seller has linked.
Purchase the NFT through a transaction (Marketplace Contract - buyNFT).
Confirm the ownership of the NFT on the contract (NFT Contract - ownerOf).
Both buyers and sellers can trade without intermediaries, only paying minimal gas fees for transactions through the marketplace contract, without additional fees.
You can explore the NFT trading application through the link below:
Typically, ensure that the NFT Marketplace contract linked by the seller matches the Ragon-deployed NFT Marketplace contract (link). Alternatively, you can safely trade NFTs through the Ragon NFT Marketplace Application (link).
Be cautious when using contracts deployed directly by sellers—always verify them carefully before proceeding.