Skip to content

fix: unify torii endpoints to arcade-main#277

Merged
MartianGreed merged 4 commits intomainfrom
fix/unify-torii-endpoint
Feb 10, 2026
Merged

fix: unify torii endpoints to arcade-main#277
MartianGreed merged 4 commits intomainfrom
fix/unify-torii-endpoint

Conversation

@MartianGreed
Copy link
Collaborator

All torii fetches now route through arcade-main instead of per-edition project endpoints.

The getToriiUrl function in torii-fetcher.ts now always returns the arcade-main URL regardless of the project name passed in. The project name is still passed through for metadata/tracking but the actual HTTP requests go to arcade-main.

Updated the test expectations accordingly.

@vercel
Copy link

vercel bot commented Feb 10, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
arcade Ready Ready Preview Feb 10, 2026 3:15pm
arcade-storybook Error Error Feb 10, 2026 3:15pm

Request Review

Uses getProjectCollections() to resolve collection addresses for the
requested projects, then passes them as contract_addresses filter to
getTokenBalances. This ensures only game-specific NFTs are returned
when browsing a game's inventory.
When none of the requested projects have collection mappings,
return an empty array immediately instead of fetching all assets
from arcade-main. This avoids displaying unrelated NFTs for
projects without registered collections.
@MartianGreed MartianGreed merged commit 16a0d83 into main Feb 10, 2026
5 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant