Skip to main content
Prerequisites: Complete Build a Game first to set up Passport, deploy contracts, and mint NFTs.
Build an in-game marketplace where players can fund wallets, view inventory, and trade NFTs.

Wallet Funding

Enable players to add tokens to their wallets for trading.

On-ramp

Purchase tokens with fiat currency (powered by Transak)

Swap

Exchange tokens on zkEVM (powered by QuickSwap)

Bridge

Transfer tokens from Ethereum L1 to zkEVM (powered by Squid)

Display Inventory

Show players their NFT collections and assets.

Indexer API

Query NFT ownership, metadata, and trading history

Metadata Search

Filter and search NFTs by attributes and properties

TypeScript SDK

blockchain-data package for inventory queries

Marketplace Trading

Enable peer-to-peer NFT trading with the Orderbook.

Create Listings

List NFTs for sale with ERC-20 token pricing

Buy NFTs

Purchase listed NFTs from other players

Cancel Listings

Remove NFTs from marketplace

Collection Bids

Make offers on entire collections

Marketplace Fees

Configure platform and royalty fees

Orderbook API

Complete API reference and integration guides

SDK Implementation

TypeScript Widgets

Full widget integration for web applications