Skip to content

fix(frontend): canonical sBTC contract + correct ALEX ft name - #25

Merged
jayteemoney merged 2 commits into
mainfrom
fix/mainnet-token-config
Sep 23, 2026
Merged

jayteemoney merged 2 commits into
mainfrom
fix/mainnet-token-config

Conversation

@jayteemoney

@jayteemoney jayteemoney commented Sep 23, 2026 •

Copy link
Copy Markdown
Owner

Problem

  • sBTC (the default token in the create-stream selector) pointed to SP3K8BC0PPEVCV7NZ6QSRWPQ2JE9E5B6N3PA0KBR9.token-sbtc, which does not exist on mainnet (Hiro API returns 404). sBTC balances read 0 and sBTC stream transactions targeted a missing contract.
  • ALEX used ft name token-alex, but the contract defines (define-fungible-token alex). Balance lookups and post-conditions (create, top-up, claim) were built against a non-existent asset.

Fix

  • sBTC → SM3VDXK3WZZSA84XXFKAFAF15NNZX32CTSG82JFQ4.sbtc-token, ft name sbtc-token
  • ALEX ft name → alex

Verification

  • On-chain check of all four mainnet tokens via Hiro API (contract exists, define-fungible-token name, get-decimals): sBTC 8, USDA 6, ALEX 8, xBTC 8, all matching config
  • npx vitest run: 125/125 passing
  • tsc --noEmit clean; next build --webpack succeeds

…r brief

Adds a living M3 evidence package that records what was actually shipped
each day (posts, on-chain metrics, outreach in aggregate, onboarding
calls, registrations). Replaces the July content schedule with the
30-day run starting Sep 14 and adds the designer brief it is built on.

Outreach plans and call scripts that name individuals and track private
reply status are added to .gitignore and stay local, following the
existing convention for OUTREACH_MESSAGES_JUL2026.md.
…LEX ft name

The sBTC entry referenced SP3K8BC0PPEVCV7NZ6QSRWPQ2JE9E5B6N3PA0KBR9.token-sbtc,
which does not exist on mainnet (Hiro API 404). Use the canonical
SM3VDXK3WZZSA84XXFKAFAF15NNZX32CTSG82JFQ4.sbtc-token with ft name sbtc-token.

ALEX's fungible token is defined as 'alex', not 'token-alex', so balance
lookups and post-conditions for ALEX streams were built against a
non-existent asset. Verified all four mainnet tokens' ft names and decimals
on-chain.
@vercel

vercel Bot commented Sep 23, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated
stackstream Ready Ready Preview Sep 23, 2026 2:26pm UTC

@jayteemoney
jayteemoney merged commit 986d5a4 into main Sep 23, 2026
2 of 4 checks passed

This branch was successfully deployed

1 active deployment
Preview — 47b88da8 Deployed Sep 23, 2026 by vercel[bot]
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