Virtual Cofounder
Guides
Set Up a Marketplace

Set Up a Marketplace

Create a marketplace where NFTs can be listed for sale and purchased.

What You'll Build

A marketplace contract enables buying and selling NFTs at fixed prices. Sellers list their NFTs with a price, and buyers can purchase them directly. The marketplace handles:

  • Listing NFTs for sale
  • Processing purchases
  • Transferring ownership
  • Collecting payment

Prerequisites

  • A wallet option ready — Keplr for mainnet, or use the test wallet to try it out
  • An NFT collection to sell (or you'll buy from others)
  • On testnet for practice, or mainnet for production

Step 1: Deploy the Marketplace

Ask Virtual Cofounder to create your marketplace:

Deploy a marketplace contract

You can also specify a name:

Deploy a marketplace called "Cosmic Cats Market"

Step 2: List an NFT for Sale

To sell an NFT on your marketplace:

List token 1 from my Cosmic Cats collection on the marketplace for 100 tokens

Virtual Cofounder will:

  1. Verify you own the NFT
  2. Set up the listing
  3. Ask for confirmation

Step 3: Buy an NFT

To purchase a listed NFT:

Buy token 1 from the Cosmic Cats collection on the marketplace

The marketplace will transfer the NFT to you and send payment to the seller.

Step 4: Manage Listings

View active listings:

Show me all listings on my marketplace

Cancel a listing:

Cancel my listing for token 1 from Cosmic Cats

Update the price:

Update the price of my token 1 listing to 150 tokens

Tips for Success

Test the Full Flow

On testnet, practice:

  1. Deploy a marketplace
  2. Deploy an NFT collection
  3. Mint an NFT
  4. List it for sale
  5. (From another wallet or ask Virtual Cofounder to simulate) Buy it

Consider Fees

Marketplaces can charge fees on sales. Ask Virtual Cofounder about fee configuration if you want to earn from trades.

Link Collections to Your Marketplace

For a better experience, you can associate your NFT collections with your marketplace so buyers know where to find your items.

Next Steps

Once you have a marketplace, you might want to: