Skip to content
CCPEDIAby Unity Nodes
App Development

Testnet Onboarding issues: Compilation Failed

3 posts38 viewsLast activity Apr 2026

  1. skyhookOP

    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

  2. 0xshikhar

    @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:

  3. skyhook

    Here is the exact snippet:

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