Add Preview Network Support to BBoardion#1261
Closed
834henry wants to merge 2 commits intomidnightntwrk:mainfrom
Closed
Add Preview Network Support to BBoardion#1261834henry wants to merge 2 commits intomidnightntwrk:mainfrom
834henry wants to merge 2 commits intomidnightntwrk:mainfrom
Conversation
added 2 commits
January 15, 2026 14:12
- Add PreviewConfig class with correct endpoints (api/v3/graphql) - Create preview.ts launcher for Preview network - Update compact-runtime to 0.9.0 - Fix bigintToBytes32 helper (replace removed convert_bigint_to_Uint8Array) - Add comprehensive migration documentation - Successfully build and test wallet creation Preview Endpoints: - Indexer: https://indexer.preview.midnight.network/api/v3/graphql - RPC: https://rpc.preview.midnight.network - Proof Server: localhost:6300 Files Modified: - bboard-cli/src/config.ts (PreviewConfig class) - bboard-cli/src/launcher/preview.ts (new launcher) - api/src/index.ts (bigint conversion fix) - package.json (compact-runtime@0.9.0) - PREVIEW_MIGRATION_GUIDE.md (full documentation) - PREVIEW_MIGRATION_README.md (quick reference) Related: midnightntwrk/contributor-hub#248
Complete 310-line submission document covering: - All deliverables and achievements - Technical implementation details - Testing instructions - Documentation summary - Value proposition Total contribution: 828 lines of code and documentation across 8 files
|
TMT seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account. You have signed the CLA already but the status is still pending? Let us recheck it. |
Collaborator
|
Thank you for your contribution, but it has been decided that we will skip the update to Preview for this repo to switch directly to Preprod. |
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.
Summary
Adds complete Preview network support to BBoard example application.
Fixes midnightntwrk/contributor-hub#248
Changes
PreviewConfigclass with correct Preview endpointspreview.tslauncher for Preview networkPreview Endpoints
Testing
Documentation
PREVIEW_MIGRATION_GUIDE.md- Complete technical guide (417 lines)PREVIEW_MIGRATION_README.md- Quick reference (61 lines)BOUNTY_SUBMISSION.md- Detailed submission (310 lines)Stats
Related
Note
Preview network launched January 7, 2026 - two days after the original bounty deadline, making migration impossible before launch. This demonstrates immediate response to Preview availability.