Skip to Content

Node Update

This guide describes how to upgrade a running Primus Network Attestor Node on Phala Cloud.

Latest version

  • Docker tag: 0.1.1-release

Supported chains

ChainChainIdTask Contract AddressSupport
base-mainnet84530x151cb5eD5D10A42B607bB172B27BDF6F884b9707Yes
base-sepolia845320xC02234058caEaA9416506eABf6Ef3122fCA939E8Yes

Update steps

  1. Open the Phala Dashboard  and select the Primus node you want to upgrade.

  2. Click Update.

  3. Open docker-compose.yaml from primus-network-startup, copy its contents, and paste them into the docker-compose.yaml field.

  4. Open the Encrypted Env tab, fill in the environment variables, then click Save:

    • PRIVATE_KEY — Must start with 0x. This key represents the node owner, signs reports, and is also used during node registration.
    • NETWORK_CHAINS — A single-line minified JSON array (no line breaks). Each item must contain rpcUrl, taskContractAddress, and chainId (see Supported chains).
    • IMAGE_TAG — Set to the Docker tag specified in Latest version.

    Example (Base mainnet):

    [{"rpcUrl":"https://mainnet.base.org","taskContractAddress":"0x151cb5eD5D10A42B607bB172B27BDF6F884b9707","chainId":8453}]

    If you edit JSON in expanded form, minify it first (for example with JSON Minify ).

  5. After clicking Save, the CVM restarts. When the status returns to Running, the update is successful and the node is healthy.

Register and stake if needed

If this node has not been staked yet, complete registration and staking after the update. Follow Node Setup > Node management > Register and stake.