Skip to content

This Smart Contract allows us to create our own NFT Marketplace where we can buy and sell ERC-721 NFTs.

License

Notifications You must be signed in to change notification settings

Mmrgdev/NFT-Marketplace

Repository files navigation

NFT-Marketplace

This Smart Contract allows us to create our own NFT Marketplace where we can buy and sell ERC-721 NFTs.

This marketplace will have the functions of list, cancel list, buy and sell the NFTS, in addition to having the inclusion of a commission that will allow to the owner of the marketplace to receive a commission (5%) each time a trade occurs. This market place will be based on:

  • An ERC-721 contract that I will deploy it in the blockchain, I will obtain its respective address and in the NFT Marketplace contract I will instantiate it through its address using the OppenZepelin interface. Thus, the NFT marketplace contract will be able to interact with the ERC-721 contract and implement NFTs.

  • An ERC-20 contract (I suppose I am going to use an ERC-20 stablecoin token as a means of payment), I will deploy it in the blocckhain, I will obtain its respective address and in the NFT Marketplace contract I will instantiate it through its address using the OppenZepelin interface. Thus, the NFT marketplace contract will be able to interact with the ERC-20 contract and be able to use the token as a means of exchange.

  • A preventive measure to block "Front running" attacks or price manipulations.

The overall process can be seen below:

image

About

This Smart Contract allows us to create our own NFT Marketplace where we can buy and sell ERC-721 NFTs.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published