polkadot

Polkadot node

Channel Revision Published Runs on
latest/edge 48 09 May 2025
Ubuntu 24.04 Ubuntu 22.04 Ubuntu 21.10 Ubuntu 20.04
latest/edge 47 09 May 2025
Ubuntu 24.04 Ubuntu 22.04 Ubuntu 21.10 Ubuntu 20.04
latest/edge 46 09 May 2025
Ubuntu 24.04 Ubuntu 22.04 Ubuntu 21.10 Ubuntu 20.04
latest/edge 15 11 Dec 2023
Ubuntu 24.04 Ubuntu 22.04 Ubuntu 21.10 Ubuntu 20.04
juju deploy polkadot --channel edge
Show information

Platform:

Ubuntu
24.04 22.04 21.10 20.04

Learn about configurations >

  • binary-sha256-url | string

    If the URL is provided, the charm downloads the sha256 and performs a checksum check against the binary.

    NOTE 1: Needs to point to the sha256 corresponding to the 'binary-url' ahead of downloading the binary to actually perform the check! NOTE 2: If multiple binary URL:s are supplied, multiple sha256 URL:s should be supplied as well, in the same order. NOTE 3: It's also possible to provide one sha256 URL with multiple binary URL:s if the sha256 file contains one row per binary.

  • binary-url | string

    Path to download one or multiple binaries or a single .deb or .tar.gz file.

    Example 1: https://github.com/paritytech/polkadot-sdk/releases/download/polkadot-v1.1.0/polkadot-parachain Example 2: "https://github.com/paritytech/polkadot-sdk/releases/download/polkadot-v1.1.0/polkadot https://github.com/paritytech/polkadot-sdk/releases/download/polkadot-v1.1.0/polkadot-execute-worker https://github.com/paritytech/polkadot-sdk/releases/download/polkadot-v1.1.0/polkadot-prepare-worker" Example 3: https://github.com/ComposableFi/composable/releases/download/release-v9.10035.5/composable-node_8.10035.5-1_amd64.deb Example 4: https://github.com/availproject/avail/releases/download/v1.9.0.0/x86_64-ubuntu-2204-data-avail.tar.gz

    NOTE 1: Different installation methods will be used depending on the downloaded file type. NOTE 2: Multiple binary install is currently only supported for the Polkadot relaychains, parachain support is not confirmed.

  • chain-spec-url | string

    If set, the file found in the URL will be used as value for the --chain argument LEFT of the -- separator. This means it will affect the parachain if running a parachain node or the relaychain or livechain if running one of those. NOTE: The URL needs to be to the raw chainspec file, not the GitHub page. Confirm the URL by testing that wget <URL> gives you the correct file.

  • docker-tag | string

    The tag of the docker image to extract binary from. E.g. v1.5.0.

  • local-relaychain-spec-url | string

    If set, the file found in the URL will be used as value for the --chain argument RIGHT of the -- separator. This means it will affect the local relaychain if running a parachain node. NOTE 1: Do not use this when running a relaychain or livechain node. NOTE 2: The URL needs to be to the raw chainspec file, not the GitHub page. Confirm the URL by testing that wget <URL> gives you the correct file.

  • mnemonic-secret-id | secret

    The wallet to use for setting a session key on chain. This is the wallet that will sign the transaction when moving a validator/collator to this node using the action 'start-validating'. The mnemonic needs to be added to the model as a secret with the key name 'mnemonic'. If this is a proxy account, the 'proxy-type' must be provided as well. An application needs to be granted access to the secret to be able to use it. Example: juju add-secret validator1 mnemonic="foo bar" proxy-type="Staking" --info 14MofzwMbLm1JeBxLi2BKBRHXJce87DE5UWnttgGBBrQcEy9 juju grant-secret validator1 polkadot juju config polkadot mnemonic-secret-id="secret:ctr90nhaeavjam32tflg"

  • service-args | string

    Extra arguments that the service should run with. '--chain=... --rpc-port=...' are required to set for the charm to run.

  • wasm-runtime-url | string

    URL where one or more wasm runtime files can be found. The file can either be a .wasm file or a tar.gz archive containing one or more wasm runtime files. If set, the downloaded files(s) will be in /home/polkadot/wasm and the service argument --wasm-runtime-overrides=/home/polkadot/wasm will be used.