Skip to content
CCPEDIAby Unity Nodes
Discussions/App Development/Testnet Onboarding issues: Compilation FailedForum ↗

Testnet Onboarding issues: Compilation Failed

App Development3 posts23 viewsLast activity Apr 2026
SK
skyhookOP
Apr 2026

Hi All,

My sponsor sent me my onboard secret today and trying to onboard on testnet I am receiving errors. Any suggestions on what is wrong.

cmd3.sc:1: value onboard is not a member of com.digitalasset.canton.console.RemoteParticipantReference
val res3 = validator.onboard.network(
^
cmd3.sc:2: not found: value onboardingSecret
onboardingSecret = “I removed the Secret”
^

cmd3.sc:3: not found: value synchronizerAlias
synchronizerAlias = “testnet”
^
Compilation Failed

0X
0xshikhar
Apr 2026

@skyhook Looks like a console/API mismatch rather than an onboarding issue.

RemoteParticipantReference doesn’t expose onboard.network, so that’s why you’re getting the first error. The rest (onboardingSecret, synchronizerAlias) are just cascading failures from that.

A couple things to check:

  • Make sure you’re using the validator console context, not a generic participant reference

  • The onboarding command is usually available on the validator object, not on RemoteParticipantReference

  • Double-check docs/version — APIs have changed a bit across releases, so the command you’re using might be outdated

If you can share the exact snippet (minus the secret), easier to pinpoint :+1:

SK
skyhook
Apr 2026

Here is the exact snippet:

validator.onboard.network( onboardingSecret = “PASTE_YOUR_SECRET_HERE”, synchronizerAlias = “testnet” )

← Back to Discussions