TZombies
  • â„šī¸Introduction
    • The TZombies Tutorial
    • Architecture
  • đŸ› ī¸Setup
    • Development environment setup
    • Completium
  • 🤖Smart Contracts
    • FA2 Contract
      • Deploying and testing
    • Marketplace contract
      • Deploying and testing
    • Better testing
    • Token metadata
  • 📖Front-end
    • Architecture
    • Layout
    • Beacon wallet
      • Connect button
    • Contracts
      • Metadata provider
      • Zombies provider
      • Marketplace provider
    • Token display
    • Drops
      • đŸ’ŗBuy with credit card
    • Inventory
      • Transfer dialog
      • Listing dialog
      • Inventory page
    • Market
      • Buy dialog
      • Market page
  • 🎁Wrap up
    • Conclusion
Powered by GitBook
On this page
  1. Front-end

Market

The market page displays

  • The approval status (is the marketplace contract an approved operator on the connected user's tokens?)

  • A button to approve or revoke marketplace permissions

  • Active listings of tokens for sale

    • On the ones that have been created by the user, show a Cancel button

    • On the others, show a Buy button

As for the inventory page, we'll gave a dialog, to confirm the amount a user wants to buy.

See the next page for the dialog details.

PreviousInventory pageNextBuy dialog

Last updated 1 year ago

📖