Adding an app
A new production app is not live on the hub until all of these exist. Hosts must be real *.riddlewallet.com URLs.
Checklist
- Wallet
lib/ecosystem.ts— add the production URL toECOSYSTEM(env override + default host). HUB_LINKS— append a card (title, description,href,key) so Wallet home / onboarding can launch it.- Hub catalog
APPS+URLS— in this reposrc/lib/catalog.ts(hub SSOT).slug,name,hreffromURLS,group, bullets,shots. Do not invent hosts. This docs portal readsURLS/APPSfrom that file. - Pills — if it belongs in the compact header switcher (~10 max), add it to
SUITE_APP_PILLSinsrc/lib/suite-shell-config.ts(and the shared suite-chrome copy). Bottom nav stays the five primary destinations unless product asks otherwise. - Screenshots — capture live production only:
npm run capture
# node scripts/capture-live-apps.mjsWrites public/media/apps/{id}-desktop.png and {id}-mobile.png. Point catalog shots() at those files. No generated art.
- SSO — connect with
https://wallet.riddlewallet.com?return=&app={id}&action=connect. Registerappid on the Wallet allow-list. No second seed import. Cookierdl_sessDomain=.riddlewallet.com. - Ads / brand / payloads — optional slot ids on
GET https://dev.riddlewallet.com/api/ads/active?slot=. Solid chrome (brand). Native units (payloads). Keep/{slug}redirect to the live host.
After merge
- Hub
/apps/{slug}and sitemap/apps/*pick up the catalog row automatically. - Run capture again whenever the live UI changes.