riddlePARTNERS

Setup · marketplace

Marketplace (Cafe)

Cafe NFT / broker widget on your site. Same partner slug and origin allowlist.

Open live demo →

  1. 1

    Finish account + origin

    Complete Partner account setup so your slug exists, then allowlist your site in Dashboard → Embeds.

  2. 2

    Mount the widget

    Replace acme with your slug. This is the supported browser entry (riddlepartners.js, same file as inject.js).

    <div id="riddle-market"></div>
    <script src="https://partners.riddlewallet.com/riddlepartners.js"></script>
    <script>
      const riddle = RiddlePartners.createClient({ partner: 'acme' })
      riddle.mount('#riddle-market', { product: 'marketplace', height: 560 })
    </script>
  3. 3

    Iframe alternative

    Use the same allow attribute so wallets can copy URIs.

    <iframe
      src="https://partners.riddlewallet.com/embed/marketplace?partner=acme&network=mainnet&embed=1"
      style="width:100%;height:560px;border:0;border-radius:16px"
      allow="clipboard-write; clipboard-read; payment; camera; publickey-credentials-get *; accelerometer; gyroscope"
      title="Riddle marketplace"
    ></iframe>
  4. 4

    REST

    Scope the API key to cafe.

    GET  /api/v1/market/config
    POST /api/v1/market/quote