Pando Exchange Docs Build your marketplace
On this page

Run

Operating your site

Logs, limits and what a visitor sees at each, the first read of a collection, where storage lives, pictures, caching, and moving or deleting a site.

Logs#

The template does not switch on Cloudflare's Workers Logs. To watch your Worker's requests and errors as they happen, from the template's root:

bash
npx wrangler tail

You can also switch on Workers Logs for the Worker in your Cloudflare dashboard. What you keep, and for how long, is your choice. Never paste a secret into a log line or a support request.

Limits a visitor can meet#

Limit What a visitor sees
60 chain reads a minute for each visitor (CHAIN_READS) "Too many requests that need a fresh chain read. Try again in a minute."
30 wallet reads a minute for each visitor (WALLET_READS) The same, for wallet pages and wallet-specific answers
5 admin token tries in ten minutes for each visitor "Too many tries. Wait and try again." on /setup
The setup checks route "Too many setup checks. Wait and try again."

Cloudflare's rate limits are approximate by design. Run one marketplace in each Cloudflare account: two sites in one account would share these limits. Limits lists the numbers you are most likely to meet.

The first read of a collection#

Storing your settings starts the first read of each selected collection in the background. The book reads OpenSea listings and offers, then, in the background, its NFTX pools and their prices. On the real deployment of 4 December 2026 one collection's first read made about 100 outgoing requests.

  • The setup page's book check passes once a sync has completed and the first pool prices have landed or failed. The page asks again by itself, five seconds after each answer, for at most 36 status requests.
  • Run on your own computer, allow about half a minute for the first inventory.
  • A figure not read yet is never shown as zero: the landing page's floor reads Unknown until every venue you switched on has settled its lowest price. Pages say when a venue is still being read.

There is no scheduled trigger. Each book keeps its own alarm, which re-reads its venues, and a page view starts or restarts it, so a book whose alarm has stopped starts again on the next visit.

Where storage lives#

A Durable Object stays for good where it is first created. On about thirty fresh deployments visited from London, the settings object landed in Los Angeles, San Jose or Denver about a third of the time; a read then took 135 to 160 ms instead of 1 to 9 ms, and in those London trials pages took four to six times as long. An object is not moved once created, so a site keeps using the object it chose.

So the template chooses by measurement. At a successful claim it tries up to five candidate names for the settings object, the registry and each book, times the second call to each, keeps the first that answers within 40 ms, or else the fastest measured within 2.5 seconds (it measures time to answer, not distance), and records the chosen names in a small placement record in your R2 bucket. Every later request uses them, and the Worker may keep the placement record between requests. New objects are also created with a location hint taken from where the visitor is.

What was seen: thirteen fresh deployments claimed from London on 4 December 2026, each claim in 2.5 to 4.1 seconds, every chosen object answering within 30 ms.

Its limits:

  • It was seen on one account from one city.
  • Storing settings takes about three seconds while the site measures.
  • An unclaimed site reads its bucket on every request.
  • A placement record edited by hand to name an empty candidate hides the stored settings until it is corrected by hand.
  • A site claimed before placement existed, with neither a placement record nor a startup marker, shows as unclaimed until its token holder presses Store settings once, which restores its names and changes nothing.

Pictures#

NFT pictures come from contracts anyone can deploy, so the template treats them as hostile. It fetches metadata and pictures only for collections on your site. The downloader screens the first hostname, limits size (12 MB for a picture, 1 MB for metadata) and time (8 seconds), recognises supported picture formats from their bytes, serves the type it detected, and adds headers that stop a picture from running as a page. It keeps them in your R2 bucket, and resizes large PNG and JPEG pictures with Cloudflare Images. A token page shows a display-size picture, with the original behind Open full size.

Pictures stored on IPFS are fetched through public IPFS gateways, which can refuse requests from Workers.

Caching#

Pages are not cached, so each page view shows the book as it is. Picture answers keep their own cache policy. Every answer decides its own caching; nothing private is cached.

Moving or deleting a site#

  • A new domain: add it in the dashboard. See a custom domain. Settings do not name the address.
  • A new Cloudflare account: deploy the template there and store your settings code again. Orders made on the old site live in its books; they are not moved.
  • Deleting: delete the Worker in your Cloudflare dashboard, then its R2 bucket. A deleted Worker's name cannot be reused while its media bucket still holds objects.

Orders signed on your site are Seaport orders: deleting your site does not cancel them. A seller cancels a listing from their own wallet with Seaport's own cancel, which works whether or not your site exists.

Next#

Pando Exchange is software published by Simple Things Ltd. Each marketplace made with it is run by its operator, in the operator's own account.