Skip to main content

Marketplace & Auctions

Ternoa provides you with many basic and advanced marketplace features. Not only creating an NFT can be done in just a few lines of code but we also cover many marketplace use cases: Ternoa allows you to easily create functions to list for sale, English auction, unlist and NFT, and manage a marketplace.

What is an NFT Marketplace? Why Auctions?

To sell and buy NFTs, we created the marketplace entity. Each user can create his own marketplace and define rules that apply to who can put on sale, what is the listing (putting on sale) costs and what is the commission fee.

Ternoa also offers different ways to sell an NFT: auctions. Auctions are a type of sale where the NFT seller sets a minimum price they are willing to sell their NFT by defining the time duration. Buyers can place bids with the amount they are willing to pay for the NFT as long as it is above the minimum price. At the end of the period, the NFT is sold to the highest bidder. Auctions are a great way to hype the project or an NFT.

Marketplace features

Creating a marketplace
Create a Marketplace on the chain.
Setting the Marketplace Configuration
Set or Remove the marketplace parameters configuration :
  • Commission fee
  • Listing fee
  • Accounts list
  • offchain data
  • Collection list
View code
Changing the kind/type of a marketplace
Set the new marketplace kind on the chain.
Transferring a marketplace ownership
Set the new marketplace owner on the chain.
Listing an NFT
List an NFT on a marketplace.
View code
Unlisting an NFT
Unlist an NFT from a marketplace.
View code
Buying an NFT
Buy an NFT on a marketplace.
View code

Auctions features

Creating an Auction
Create an auction for an NFT.
View code
Cancelling an Auction
Cancel an auction for an NFT.
View code
Ending an Auction
End an auction for an NFT
View code
Adding a Bid
The bidder adds a new bid offer.
View code
Removing a Bid
The bidder removes his bid offer.
View code
Buy it Now
The NFT can be directly bought if a buyItPrice was defined and the auction has not started yet.
View code
Claiming an amount that was bid but did not win the auction
Bidders that did not win the auction have to claim back the balance of their bid after an auction ends.