Skip to content

Migrate BBoard Example dApp to Prepod/Preview (ledger-v7)#1223

Merged
claudebarde merged 7 commits intomidnightntwrk:mainfrom
skisel-bt:migrate
Feb 12, 2026
Merged

Migrate BBoard Example dApp to Prepod/Preview (ledger-v7)#1223
claudebarde merged 7 commits intomidnightntwrk:mainfrom
skisel-bt:migrate

Conversation

@skisel-bt
Copy link
Copy Markdown
Contributor

BBoard Example dApp – Preview Migration Report

Resolves: midnightntwrk/contributor-hub#248

Status: ✅ All done

Summary

The BBoard reference example dApp has been fully migrated from testnet to Preview, covering backend (contracts, scripts, config) and frontend, with no changes to repository structure or UI behavior.

Work Completed

  • Updated Compact contracts to compile and deploy on Preview
  • Updated JS scripts and configuration for Preview
  • Migrated frontend to run against Preview backend
  • Verified end-to-end functionality (CLI + UI)

Documentation

  • All workarounds, caveats, and deviations from the migration guide are documented in the PR/README

Acceptance

  • Backend and frontend build and run on Preview
  • Migration aligns with the published guide
  • Demo videos provided for backend and frontend
  • Ready for Midnight team review

Demo Video

https://www.youtube.com/watch?v=kpHrDiMfe08

@skisel-bt skisel-bt requested review from a team as code owners December 27, 2025 20:33
Comment thread bboard-cli/compose.yml Fixed
Comment thread bboard-cli/compose.yml Fixed
Comment thread bboard-cli/compose.yml Fixed
Comment thread bboard-cli/compose.yml Fixed
Comment thread bboard-cli/compose.yml Fixed
Comment thread bboard-cli/compose.yml Dismissed
Comment thread bboard-cli/proof-server-local.yml Fixed
Comment thread bboard-cli/proof-server-local.yml Fixed
Comment thread bboard-cli/proof-server-local.yml Fixed
Comment thread bboard-cli/proof-server-local.yml Dismissed
@skisel-bt skisel-bt changed the title Migrate BBoard Example dApp to Preview Migrate BBoard Example dApp to Prepod/Preview (ledger-v7) Feb 5, 2026
Comment thread bboard-cli/compose.yml
RUST_LOG: "indexer=info,chain_indexer=info,indexer_api=info,wallet_indexer=info,indexer_common=info,fastrace_opentelemetry=info,info"
# Random 32-byte hex-encoded secret used to make the standalone indexer run.
# Only needed to satisfy the config schema – not meant for secure use.
APP__INFRA__SECRET: "303132333435363738393031323334353637383930313233343536373839303132"

Check failure

Code scanning / Opengrep OSS

Opengrep Finding: generic.secrets.security.detected-generic-secret.detected-generic-secret Error

Generic Secret detected
Comment thread bboard-cli/compose.yml
# Random 32-byte hex-encoded secret used to make the standalone indexer run.
# Only needed to satisfy the config schema – not meant for secure use.
APP__INFRA__SECRET: "303132333435363738393031323334353637383930313233343536373839303132"
APP__INFRA__NODE__URL: "ws://node:9944"

Check failure

Code scanning / Opengrep OSS

Opengrep Finding: javascript.lang.security.detect-insecure-websocket.detect-insecure-websocket Error

Insecure WebSocket Detected. WebSocket Secure (wss) should be used for all WebSocket connections.
Comment thread bboard-cli/compose.yml
@@ -0,0 +1,35 @@
services:
proof-server:

Check warning

Code scanning / KICS

Container Capabilities Unrestricted Warning

Docker compose file doesn't have 'cap_drop' attribute. Make sure your container only has necessary capabilities.
Comment thread bboard-cli/compose.yml
@@ -0,0 +1,35 @@
services:
proof-server:

Check warning

Code scanning / KICS

Healthcheck Not Set Warning

Healthcheck is not defined.
Comment thread bboard-cli/compose.yml
@@ -0,0 +1,35 @@
services:
proof-server:

Check warning

Code scanning / KICS

Security Opt Not Set Warning

Docker compose file does not have 'security_opt' attribute
Comment thread bboard-cli/compose.yml
proof-server:
image: 'bricktowers/proof-server:7.0.0'
container_name: "proof-server_$TESTCONTAINERS_UID"
ports:

Check warning

Code scanning / KICS

Container Traffic Not Bound To Host Interface Warning

Docker compose file doesn't have 'ports' attribute bound to a specific host interface
Comment thread bboard-cli/compose.yml
ports:
- "6300"

indexer:

Check warning

Code scanning / KICS

Container Capabilities Unrestricted Warning

Docker compose file doesn't have 'cap_drop' attribute. Make sure your container only has necessary capabilities.
Comment thread bboard-cli/compose.yml
depends_on:
node:
condition: service_started
node:

Check warning

Code scanning / KICS

Container Capabilities Unrestricted Warning

Docker compose file doesn't have 'cap_drop' attribute. Make sure your container only has necessary capabilities.
Comment thread bboard-cli/compose.yml
depends_on:
node:
condition: service_started
node:

Check warning

Code scanning / KICS

Security Opt Not Set Warning

Docker compose file does not have 'security_opt' attribute
@@ -0,0 +1,9 @@
services:
proof-server:

Check warning

Code scanning / KICS

Container Capabilities Unrestricted Warning

Docker compose file doesn't have 'cap_drop' attribute. Make sure your container only has necessary capabilities.
@@ -0,0 +1,9 @@
services:
proof-server:

Check warning

Code scanning / KICS

Healthcheck Not Set Warning

Healthcheck is not defined.
@@ -0,0 +1,9 @@
services:
proof-server:

Check warning

Code scanning / KICS

Security Opt Not Set Warning

Docker compose file does not have 'security_opt' attribute
@skisel-bt
Copy link
Copy Markdown
Contributor Author

Last commit updates this PR to work with Preprod and ledger-v7 stack

@CLAassistant
Copy link
Copy Markdown

CLAassistant commented Feb 5, 2026

CLA assistant check
All committers have signed the CLA.

@claudebarde claudebarde merged commit bd31734 into midnightntwrk:main Feb 12, 2026
6 of 7 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.

Migrate BBoard Example dApp to Preview

4 participants