Book a free call

How to Build an NFT Marketplace Like Rarible

A Rarible-like NFT marketplace lets creators mint and sell work without writing code. Here is what to build, how lazy minting works, and what it costs to launch.

Hertiv engineering teamReviewed by a senior engineer
6 min read
How to Build an NFT Marketplace Like Rarible
On this page

Short answer

A Rarible-like NFT marketplace is a creator-first trading venue where artists mint NFTs, list them for fixed prices or auctions, and earn royalties on resales. It runs on smart contracts for minting, orders and royalties, with lazy minting so creators pay no gas until a buyer purchases, and it works across several chains from one interface.

What is a Rarible-like NFT marketplace?

A Rarible-like NFT marketplace is a trading venue built around creators, where artists can mint a digital work as an NFT and sell it without writing a smart contract. Rarible launched in 2020 as one of the first community-governed marketplaces, and its design puts minting tools and creator royalties first rather than pro-trader features.

Buyers browse collections, place bids or buy at a fixed price, and pay from a self-custodied wallet. The marketplace never holds user funds: a signed order is matched on-chain and ownership transfers when the trade settles. That non-custodial model is the core of the design.

A copy does not need to clone Rarible exactly. The useful question is which of its choices fit your audience: creator minting, lazy minting, on-chain royalties, governance by token holders, and support for several chains. A marketplace for one chain and one art style can borrow the minting and royalty ideas and skip the rest.

What makes Rarible different from OpenSea?

Rarible and OpenSea both let people trade NFTs, but they started from different users. OpenSea began as a place to trade existing collections, while Rarible began as a place where single creators could mint work without writing code. That starting point shaped three features that a copy should understand.

First, lazy minting. A creator signs the token metadata and the sale terms off-chain, and nothing goes on-chain until a buyer pays. The buyer's transaction mints the token and transfers it in one step, so the creator pays no gas to list.

Second, shared and custom collections. A creator can mint into a shared contract or deploy a separate ERC-721 or ERC-1155 collection through the interface. Third, an open protocol. The Rarible Protocol offers indexing, order and minting APIs on many chains, and third parties build storefronts on it. Rarible also issued the RARI governance token in July 2020, so holders vote on protocol decisions.

What parts does the marketplace need?

A Rarible-like marketplace needs six parts working together. Each part can be built in-house or bought from a provider, but skipping one leaves a gap users notice fast.

PartWhat it doesBuild or buy
MintingTurns art and metadata into an NFTSmart contract plus upload flow
OrdersFixed price, bids and auctionsOrder book contracts
WalletSign-in, signing and paymentsWallet connect kit
DiscoverySearch, filters and collection pagesIndexer plus database
RoyaltiesPays creators on resalesRoyalty registry
AggregationShows listings from other venuesAggregator API

Discovery is often the part teams underestimate. Users expect search by collection, trait and price, and a slow indexer makes the whole product feel broken even when the contracts are sound. Plan the indexer early, with a database that updates from chain events rather than polling the chain on every page load.

How does lazy minting work?

Lazy minting moves the minting cost from the creator to the first buyer. The creator uploads the artwork and metadata, signs a voucher off-chain that describes the token, its price and the royalty terms, and the marketplace lists that voucher as if the NFT already existed.

When a buyer pays, the marketplace contract checks the voucher signature, mints the token to the buyer and sends the payment to the creator in the same transaction. The creator never pays gas for a work that never sells, which is why lazy minting suits new artists with no audience yet.

There are limits. The token does not exist on-chain until the first sale, so it cannot be traded or used in other apps before then. Metadata must be stored somewhere durable, usually IPFS or a pinned host, because a voucher pointing at a dead link is worthless. The voucher must also carry the royalty terms, or the first sale will not record them.

How to build a Rarible-like marketplace in 7 steps

Build the marketplace in small, testable steps rather than launching everything at once. Each step below has a clear exit test before you move on.

  1. Pick one chain and one audience. Ethereum reaches the most collectors, while a cheaper chain suits new artists. One chain first keeps the indexer and the contracts simple.
  2. Write the minting contract. Use a tested ERC-721 or ERC-1155 base, add lazy minting vouchers and on-chain royalties, and keep the contract upgrade path simple.
  3. Build the order contracts. Cover fixed-price sales and bids first. Auctions can wait until basic trading works.
  4. Add wallet sign-in and listings. Users connect a wallet, list a voucher and see their own items. Test with a testnet wallet before any real funds move.
  5. Build discovery. Index chain events into a database, then add search, filters and collection pages.
  6. Add royalties and fees. Record royalty terms on mint, pay creators on resale, and show fees clearly before checkout.
  7. Audit, then open to a small group. Get an external audit, fix the findings, and invite a small set of creators before a public launch.

How do fees and royalties work?

Fees and royalties are the money side of the marketplace, and they need to be visible before a user confirms a trade. Hidden fees are the fastest way to lose creators.

ChargeWho paysTypical shape
Platform feeBuyer, seller or bothSmall share of the sale price
Creator royaltyBuyer on resaleShare set by the creator
GasBuyer on first mintNetwork fee at sale time
Payment feeBuyer on card checkoutSet by the payment provider

Royalties are the hard part. Some chains enforce them in the contract or the chain software, while others leave enforcement to each marketplace. Rarible's own chain, RARI Chain, enforces royalties in its node software, so the royalty does not depend on each marketplace's policy. If your chain does not enforce royalties, say so plainly and do not promise creators income you cannot guarantee.

Keep the fee split simple at launch. One platform fee and one royalty rate are easier to explain than a menu of tiers, and you can add tiers once trading volume shows which users need them.

Example (hypothetical): a creator marketplace in its first month

Example (hypothetical): a small team launches a marketplace for digital illustrators on one chain. It invites 40 creators, each lists 5 works, and the team runs one featured drop each week.

In the first month, 200 works are listed and 60 sell. The average sale is 0.05 ETH, so total volume is 3 ETH. The platform takes a 2.5% fee, which is 0.075 ETH, and creators keep the rest plus their royalties on the 8 works that resell.

The team learns three things. First, lazy minting works: 140 unsold works cost the creators nothing in gas. Second, discovery matters more than the drop schedule, because half the sales come from search rather than the featured page. Third, two creators ask for custom collections, which the team adds next because shared collections hide their work among hundreds of other pieces.

What are the common mistakes?

The most common mistakes in a Rarible-like marketplace are launching on too many chains, promising royalties the chain cannot enforce, and treating discovery as an afterthought.

  • Launching on five chains at once. Each chain needs its own indexer, wallet handling and support. One chain with real trading beats five empty ones.
  • Promising enforced royalties. If the chain leaves royalties to each marketplace, say so. Creators who learn later that resales pay nothing will leave.
  • Skipping the audit. Marketplace contracts hold real money. An unaudited order contract is a risk no launch discount is worth.
  • Weak metadata storage. Art stored on a single server can vanish. Use durable storage and pin the metadata.
  • No plan for fakes. Copied art and fake collections appear fast. Decide how you verify creators before launch, not after the first complaint.

Key takeaways

  • A Rarible-like marketplace is creator-first: lazy minting, on-chain royalties and multi-chain listings
  • Lazy minting means the creator pays no gas until a buyer purchases the work
  • The six parts are minting, orders, wallet, discovery, royalties and aggregation
  • Launch on one chain first and add chains only after real trading starts
  • Royalties are only as strong as the chain's enforcement, so promise only what you can guarantee

Frequently asked questions

What is lazy minting?

Lazy minting lets a creator sign a voucher off-chain describing the NFT, its price and its royalty terms. Nothing goes on-chain until a buyer pays, and the buyer's transaction mints the token and transfers it in one step, so the creator pays no gas for work that never sells.

Is Rarible still running?

Yes. Rarible launched in 2020 and still operates as a multi-chain NFT marketplace and aggregator. The RARI token governs the protocol through the RARI Foundation, and the RARI Chain network enforces creator royalties in its node software.

Do I need my own smart contracts?

You need minting and order contracts, but you can start from tested bases such as OpenZeppelin templates or the Rarible Protocol's open infrastructure. Custom contracts are only worth writing when your marketplace needs rules the standard ones do not cover.

How do creators earn royalties on resales?

The royalty rate is recorded when the work is minted, and the marketplace contract splits each resale payment between the seller and the creator. Whether the royalty is actually paid depends on the chain and the marketplace, because some venues do not enforce it.

Which chain should a new marketplace start on?

Start on the chain where your target creators and buyers already are. Ethereum has the most collectors, while cheaper chains suit new artists. One chain keeps the indexer, wallet handling and support simple until trading proves the idea.

What does a Rarible-like marketplace cost to build?

Costs depend on scope, team and audit. A small team building minting, orders, wallet sign-in and discovery, plus an external contract audit, should plan for several months of work. See vendor site for current audit and hosting prices.

Found this useful? Share it.
Hertiv engineering team

Written from projects we build for clients: blockchain systems in production. Every post is reviewed by a senior engineer before publishing and updated when practice changes.

About HertivHow we work

Planning a creator-first NFT marketplace? Talk to Hertiv.

A senior engineer replies within one business day. Or see our dApp Development service.

Book a free call

Keep reading

All posts

Tell us what you want to build

A senior engineer reads every request and replies within one business day with questions, a rough range, or a call link.

  • NDA on request before any details
  • You own all code, models and IP
  • US, UK and EU time-zone overlap

Your email app should open with your message ready to send. If it does not, write to contact@hertiv.com.

Prefer email? Write to contact@hertiv.com
Estimate costBook a call