Git Product home page Git Product logo

erc1155-nft-marketplace's Introduction

Take a tour :

https://gameitem.netlify.app/getfreeitem

Disclaimer

- For educational purpose only, I created this project to improve my skills in web3 development using Solidity, Hardhat, Ethers, Bootstrap, HTML, CSS.
If you have a question about something you couldn't understand, or you need a help to fix something, or even you have some additional features please contact me Mowgli#7713 or TG : @mowgli_9.
I'm looking for a real project or a job in a company ^^.

Overview

This  advanced marketplace use ERC1155 to sell, buy, and make auction for a NFT.
Main Functions are  :
    Buy : 
        You can buy any NFT listed on the marketplace.
    Sell :
        You can sell only NFTs you hold.
        You can't sell it for 0 ethers.
        Not only that, but you can't sell a NFT already on sell or in auction.
    Auction :
        You can put only your NFT to auction.
        Minimum bid must be greater than 0.
        You can only cancel the auction if nobody bids.
        You can only end the auction when the time  end.
        You can bid only on !end auctions.
        You can bid only with a price higher than the highest price.
        You can withdraw your bids only if you're not the highest bidder.
        Anybody can end the auction when the time passed.

This is an image

Guide

First, you need to connect your Metamask wallet, you mint a free NFT.
You can see your NFT in inventory as  <available>.
You can sell your NFT by clicking on sell button, then you can see it <on sell>.
You can buy a NFT, then  you can see it <available>.
When you sell a NFT, you will see it <sold>.
When you put NFT in auction, you can see it < my Auctions>.
When you bid, you can see the auction <Bade Auction>.
You can withdraw your funds in an auction only when you're not the highest bidder.

This is an image

Smart Contract :

I create this contract from scratch, built on ERC1155 from OppenZeppelin.
I used interfaces to make code more clean and more reusable.
All functions in the smart contract are explained using comments (I tried the max ^^').
Please, if you have a question, contact me on : DS = Mowgli#7713 or TG = @mowgli_9.
Smart contract passed 33 different test.

This is an image

erc1155-nft-marketplace's People

Contributors

cryptocomets avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.