Skip to content

Feat/add-b20-demo - #49

Closed
soheimam wants to merge 48 commits into
mainfrom
feat/add-b20-docs
Closed

Feat/add-b20-demo#49
soheimam wants to merge 48 commits into
mainfrom
feat/add-b20-docs

Conversation

@soheimam

@soheimam soheimam commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

Created b20 demo under demo section

  • Launch b20
  • Read demo token
  • Update policy

montycheese and others added 30 commits July 14, 2026 20:19
Migrated the app out of the internal Nx / @cbhq template into a standalone
Next.js (App Router) project that builds and deploys with the standard
toolchain on Vercel.

- App code (snapshots, upgrades, vibenet, shared shell/UI) carried over
  unchanged; it had no internal @cbhq imports.
- Replaced internal tooling with Vercel-native config: standard package.json
  scripts (dev/build/start/lint/typecheck/test), next.config.mjs,
  Next tsconfig, eslint-config-next, Tailwind + PostCSS, Vitest.
- Dropped Nx, Helm charts, terraform, pipelines, Dockerfile, and the
  @cbhq registry/config.
- Base Sans fonts via next/font/local; env documented in .env.example.

Verified: next build (13 routes), lint, typecheck, vitest (10 tests), and a
local dev run of /, /snapshots, /upgrades, /vibenet.
Brings the canonical /api/snapshots implementation from the v2-snapshots-ui
repo into omni:
- R2RequestError with status, and getLatestSnapshotManifest that walks
  newest-first and skips 404s, so an in-progress latest snapshot (manifest
  not yet uploaded) falls back to the previous completed one.
- Returns archiveUrl / archiveFile / metadataUrl (added as optional fields
  on the Snapshot type).

Kept omni's two prior review fixes rather than regress them: fail closed
(502) when any configured network errors instead of a partial 206, and no
SUPPORTED_COMPONENTS allowlist filter so new manifest components are counted.

Verified: next build (13 routes), lint, types, and vitest (10 tests).
Ports v2-snapshots-ui@ba0c382 into the snapshots UI so the two stop drifting:
- Group account_changesets + storage_changesets into a single "State History"
  row (combined size); toggling it toggles both.
- Gate dependent components: transaction_senders requires transactions;
  rocksdb_indices requires transactions + receipts + state history. Unmet
  dependents are disabled and auto-deselected on toggle.
- Update the Full preset to state, headers, transactions, receipts, and state
  history (+ description).
- Rewrite the download command to `base-reth-node download --chain <chain>`
  with --with-txs/--with-senders/--with-receipts/--with-state-history flags,
  --<preset> --resumable for presets, --archive --without-rocksdb, and map
  mainnet to `base`.
- Component count reflects the grouped State History row.
feat: upgrade runtime to Node.js 24
Co-authored-by: Montana Wong <montanawong@gmail.com>
Co-authored-by: vercel[bot] <35613825+vercel[bot]@users.noreply.github.com>
Co-authored-by: Vercel <vercel[bot]@users.noreply.github.com>
Co-authored-by: Montana Wong <montanawong@gmail.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Claude <noreply@anthropic.com>
mbeutt-cb and others added 17 commits July 25, 2026 13:21
Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: Montana <montanawong@gmail.com>
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: Claude <noreply@anthropic.com>
This branch was written before demos moved out of /vibenet/demos, so the rebase
replayed the new demo into app/vibenet/demos/b20 — a path main no longer has.
Left there it would sit outside the demos section, and its relative imports
would not resolve.

- Move the five files to app/demos/b20 (git mv, history preserved) and rewire
  imports: app/* is one level closer, Vibenet's library/components one level
  further away.
- Register the demo in app/demos/catalogue.ts with href /demos/b20 — the branch
  added it to the inline DEMOS array in the old page.tsx, which main deleted
  when the catalogue was extracted. Adds shortTitle so the breadcrumb reads
  "Demos / Token Issuance".
- Carry MaintenanceBanner into the demo's layout. It used to arrive via
  app/vibenet/layout.tsx, which no longer applies; without this the demo would
  silently stop warning that the devnet is down. Matches the account demo.
- Title follows the {Page} · {Section} convention: "Native Token Issuance ·
  Demos", was "B20 Demo · Vibenet".
- Sitemap entry and the AGENTS.md analytics rows point at the new path.

The explorer work on this branch (explorer.ts, its test, and the transaction
viewer changes) is untouched by the move and is byte-identical to the original.
Updates llms.txt.
Signed-off-by: StepSecurity Bot <bot@stepsecurity.io>
Co-authored-by: stepsecurity-app[bot] <188008098+stepsecurity-app[bot]@users.noreply.github.com>
Co-authored-by: Montana <montanawong@gmail.com>
@vercel

vercel Bot commented Aug 6, 2026

Copy link
Copy Markdown

Deployment failed for project omni-ui with the following error:

You don't have permission to create a Preview Deployment for this Vercel project: omni-ui.

View Documentation: https://vercel.com/docs/accounts/team-members-and-roles

@cb-heimdall

Copy link
Copy Markdown
Collaborator

🟡 Heimdall Review Status

Requirement Status More Info
Reviews 🟡 0/1
Denominator calculation
Show calculation
1 if user is bot 0
1 if user is external 0
2 if repo is sensitive 0
From .codeflow.yml 1
Additional review requirements
Show calculation
Max 0
0
From CODEOWNERS 0
Global minimum 0
Max 1
1
1 if commit is unverified 0
Sum 1

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.

8 participants