Code Monkey home page Code Monkey logo

marketplace-v3's Introduction

NFT Marketplace V3

Create an NFT marketplace on top of your NFT collection on any EVM-compatible blockchain.

Features

  • View all NFTs from your collection and their status on the marketplace on the buy page.

  • Select which NFT from your wallet to sell for either a direct listing or english auction on the marketplace on the sell page.

  • View all NFTs a user owns from your collection on the profile pages.

  • Buy NFTs directly from the marketplace on the item pages.

  • Place bids/offers on NFTs from the marketplace on the item pages.


Using this template

  1. Deploy a Marketplace V3 contract
  2. Clone this repository using the CLI
  3. Plug your contract addresses and chain in the contractAddresses.ts file.

Deploy the Marketplace V3 contract

Head to the MarketplaceV3 contract page on the thirdweb dashboard.

Deploy the marketplace to the same network as your NFT collection.


Clone this repository

Clone a copy of this repository and install the dependencies using the thirdweb CLI:

npx thirdweb create --template marketplace-v3

Note: This requires Node.js and npm and Git. Yarn is also recommended.


Add your contract addresses

In the contractAddresses.ts file, add your contract addresses and chain.

If you haven't already, import your smart contracts into the thirdweb dashboard.

/** Replace the values below with the addresses of your smart contracts */

// 1. Set up the network your smart contracts are deployed to.
// First, import the chain from the package, then set the NETWORK variable to the chain.
import { Mumbai } from "@thirdweb-dev/chains";
export const NETWORK = Mumbai;

// 2. The address of the marketplace V3 smart contract.
// Deploy your own: https://thirdweb.com/thirdweb.eth/MarketplaceV3
export const MARKETPLACE_ADDRESS = "";

// 3. The address of your NFT collection smart contract.
export const NFT_COLLECTION_ADDRESS = "";

// (Optional) Set up the URL of where users can view transactions on
// For example, below, we use Mumbai.polygonscan to view transactions on the Mumbai testnet.
export const ETHERSCAN_URL = "https://mumbai.polygonscan.com";

Join our Discord!

For any questions, suggestions, join our discord at https://discord.gg/thirdweb.

marketplace-v3's People

Contributors

jarrodwatts 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.