> ## Documentation Index
> Fetch the complete documentation index at: https://docs.canton.network/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> If you are building a Canton Network application, start from https://docs.canton.network/appdev/quickstart.md. To run only a local network for your own Daml code, without building the QuickStart demo, see https://docs.canton.network/sdks-tools/development-tools/localnet.md.

# Required Network Parameters

> Parameters required to initialise a validator node and connect to the network

> [tab] DevNet (0.10.3)
>
> To initialize your validator node, you need the following parameters that define the network you're onboarding to and the secret required for doing so.
>
> * **MIGRATION\_ID** — The current migration id of the network (dev/test/mainnet) you are trying to connect to. This value is frozen and must not be changed from the last value. You can find this on [https://sync.global/sv-network/](https://sync.global/sv-network/).
> * **SPONSOR\_SV\_URL** — The URL of the SV app of your SV sponsor. This should be of the form [https://sv.sv-1.dev.global.canton.network.YOUR\_SV\_SPONSOR](https://sv.sv-1.dev.global.canton.network.YOUR_SV_SPONSOR), e.g., if the Global Synchronizer Foundation is your sponsor use \[[https://sv.sv-1.dev.global.canton.network.sync.global](https://sv.sv-1.dev.global.canton.network.sync.global)]\([https://sv.sv-1.dev.global.canton.network.sync.global](https://sv.sv-1.dev.global.canton.network.sync.global)).
>
> ONBOARDING\_SECRET
> The onboarding secret provided by your sponsor. If you don't already have one, ask your sponsor. Note that onboarding secrets are one-time use and expire after 48 hours. If you don't join before it expires, you need to request a new secret from your SV sponsor.
>
> > [!NOTE]
> >
> > You can obtain an onboarding secret automatically by calling the following endpoint on any SV (replace `SPONSOR_SV_URL` with the SV app URL defined above):
> >
> > ```bash theme={"theme":{"light":"github-light","dark":"github-dark"}}
> > curl -X POST SPONSOR_SV_URL/api/sv/v0/devnet/onboard/validator/prepare
> > ```
> >
> > Make sure to use the **SV app URL** (starting with `sv.`), not the Scan URL (starting with `scan.`).
> >
> > Note that this self-served secret is only valid for 1 hour.

> [tab] TestNet (0.10.2)
>
> To initialize your validator node, you need the following parameters that define the network you're onboarding to and the secret required for doing so.
>
> * **MIGRATION\_ID** — The current migration id of the network (dev/test/mainnet) you are trying to connect to. This value is frozen and must not be changed from the last value. You can find this on [https://sync.global/sv-network/](https://sync.global/sv-network/).
> * **SPONSOR\_SV\_URL** — The URL of the SV app of your SV sponsor. This should be of the form [https://sv.sv-1.test.global.canton.network.YOUR\_SV\_SPONSOR](https://sv.sv-1.test.global.canton.network.YOUR_SV_SPONSOR), e.g., if the Global Synchronizer Foundation is your sponsor use \[[https://sv.sv-1.test.global.canton.network.sync.global](https://sv.sv-1.test.global.canton.network.sync.global)]\([https://sv.sv-1.test.global.canton.network.sync.global](https://sv.sv-1.test.global.canton.network.sync.global)).
>
> ONBOARDING\_SECRET
> The onboarding secret provided by your sponsor. If you don't already have one, ask your sponsor. Note that onboarding secrets are one-time use and expire after 48 hours. If you don't join before it expires, you need to request a new secret from your SV sponsor.

> [tab] MainNet (0.10.1)
>
> To initialize your validator node, you need the following parameters that define the network you're onboarding to and the secret required for doing so.
>
> * **MIGRATION\_ID** — The current migration id of the network (dev/test/mainnet) you are trying to connect to. This value is frozen and must not be changed from the last value. You can find this on [https://sync.global/sv-network/](https://sync.global/sv-network/).
> * **SPONSOR\_SV\_URL** — The URL of the SV app of your SV sponsor. This should be of the form [https://sv.sv-1.global.canton.network.YOUR\_SV\_SPONSOR](https://sv.sv-1.global.canton.network.YOUR_SV_SPONSOR), e.g., if the Global Synchronizer Foundation is your sponsor use \[[https://sv.sv-1.global.canton.network.sync.global](https://sv.sv-1.global.canton.network.sync.global)]\([https://sv.sv-1.global.canton.network.sync.global](https://sv.sv-1.global.canton.network.sync.global)).
>
> ONBOARDING\_SECRET
> The onboarding secret provided by your sponsor. If you don't already have one, ask your sponsor. Note that onboarding secrets are one-time use and expire after 48 hours. If you don't join before it expires, you need to request a new secret from your SV sponsor.
