Add Preview, Preprod, and Stagenet support - #13
Merged
Conversation
This was referenced Sep 8, 2026
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.
The site previously bundled one Midnight protocol stack and exposed only Preview. This adds protocol-isolated adapters and public selection for Preview, Preprod, and Stagenet. Preview and Preprod retain their existing v1 addresses and artifact URL; Stagenet uses the compiler 0.34.0/runtime 0.19.0 contract stack and the verified custody-safe deployment at
052051d38424bcb5e1b6616598aed7863fbe5e6a2db55215ef9ad45fc2bc1403.The wallet boundary now invalidates stale sessions on network switches, verifies the wallet network around balancing/submission, submits the connector's exact balanced bytes, and serializes contract calls. Forward conversion durably stages and then records the exact minted coin; reverse conversion can spend only a tracked real coin and quarantines uncertain outcomes with transaction/network identity. The UI reports retained recovery state and explains when aggregate wallet holdings cannot be reversed because their exact coin identity was not created and tracked by this dApp.
CI now validates both Compact generations and both frontend protocol packages. A successful same-repository
mainCI run triggers the Cloudflare Pages production workflow for that exact SHA; manual production uses the same CI/freshness and concurrency gates.Stagenet deployment
052051d38424bcb5e1b6616598aed7863fbe5e6a2db55215ef9ad45fc2bc140300ef87fbc290dd8720ca4c2748f3144ca590ce2f9aa7b5409e1d20f8d5121162a2360307(68c76acc5b88a14e67ce2cab276babd4ea0d68013fb64dd6322590b6b88ac3ad)f23f39a74a5dc2f90a73e7b718ccdef03f825fac6337184d17acf0a00d7412df6bbb612f737011b9f4a43579e1fef13b07019e702b912645c62c12b23000ae42ccd119da2f6c18c0The one-shot deploy submitted successfully, but its post-submit indexer watch ended with a premature-close transport error before the script returned the identity. No retry ran. A public scan of the exact process interval recovered the single successful deploy, and independent checks confirmed
SucceedEntirely, all 11 verifier keys, metadata, and the retained key's public identity against the on-chain authority. The public deployment record explicitly preserves this recovery provenance.The earlier address
e42e55384b2aa147e098d0da487db219e8cdf4c3d74261ff16b800b1d95bbec6is preserved as superseded history because its randomly generated maintenance key was lost with an ephemeral provider volume. A read-only check found no conversion, reserve, or maintenance activity on that address before it was superseded.Validation
6337184d17acf0a00d7412df6bbb612f737011b9: pass.git diff --check: pass.Public browser wallet conversion remains wallet-owned. No public conversion transaction was submitted during deployment validation. Breaking change: none; Preview and Preprod addresses and their v1 compatibility artifacts remain unchanged.