Repository navigation
feat(near): publish experiments to NEAR testnet from chat and Lab pages - #149
Merged
Merged
Conversation
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.
|
The latest updates on your projects. Learn more about Vercel for GitHub. 1 Skipped Deployment
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Follow-up to #148 (issue #147): publishing now happens in-app, no CLI.
What
POST /api/v1/near-provenance/preparebundles completed jobs (circuit, finance, pharma, options, risk) and opens a single-use publish request.POST /requests/{id}verifies it, then the backend signs and sends the registryanchorcall withQB2_NEAR_PUBLISHER_PRIVATE_KEYand attaches inclusion proofs.submitterandsubmitter_signaturego into the anchor args, so the wallet address is visible on NearBlocks.Verified
Config
Set
QB2_NEAR_PUBLISHER_PRIVATE_KEY=ed25519:...(full-access key of the publisher account;anchoris payable). Without it, prepare returns the near-cli command as before.Pharma job page redesign