Skip to content

feat(near): publish experiments to NEAR testnet from chat and Lab pages - #149

Merged
Winter-Soren merged 1 commit into
mainfrom
feat/near-auto-publish
Nov 14, 2026
Merged

Winter-Soren merged 1 commit into
mainfrom
feat/near-auto-publish

Conversation

@Winter-Soren

@Winter-Soren Winter-Soren commented Nov 14, 2026 •

Copy link
Copy Markdown
Member

Follow-up to #148 (issue #147): publishing now happens in-app, no CLI.

What

  • POST /api/v1/near-provenance/prepare bundles completed jobs (circuit, finance, pharma, options, risk) and opens a single-use publish request.
  • The researcher's wallet (MetaMask) signs an EIP-191 intent; POST /requests/{id} verifies it, then the backend signs and sends the registry anchor call with QB2_NEAR_PUBLISHER_PRIVATE_KEY and attaches inclusion proofs.
  • submitter and submitter_signature go into the anchor args, so the wallet address is visible on NearBlocks.
  • Publish to NEAR button on circuit, finance and pharma result pages; becomes an On NEAR testnet explorer link once anchored. Agent chat approval card uses the same flow.

Verified

Config

Set QB2_NEAR_PUBLISHER_PRIVATE_KEY=ed25519:... (full-access key of the publisher account; anchor is payable). Without it, prepare returns the near-cli command as before.

Pharma job page redesign

  • Pipeline stepper, KPI row, protein viewer with floating controls, best ligand + score convergence cards, compact candidate cards with ADMET limits, collapsible log.
  • Fix: ligand SVG style was unscoped and recoloured every chart; zone-less backend timestamps now parsed as UTC (elapsed showed +5h30m).

Backend signs the registry anchor call with a configured publisher key;
the researcher's wallet signs an EIP-191 intent so their address and
signature appear in the transaction args on NearBlocks. Adds a Publish to
NEAR button on circuit, finance and pharma result pages.
@vercel

vercel Bot commented Nov 14, 2026 •

Copy link
Copy Markdown

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

1 Skipped Deployment
Project Deployment Actions Updated
qmeshpy-frontend Ignored Ignored Nov 14, 2026 7:38pm UTC

@Winter-Soren
Winter-Soren merged commit d3951ef into main Nov 14, 2026
13 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