---
title: Charmhub | Deploy Heimdall node using Charmhub - The Open Operator Collection
description: Deploy the latest version of Heimdall node on any cloud.
url: https://charmhub.io/heimdall/configurations
---

# Heimdall node

[Dwellir AB](https://charmhub.io/publisher/dwellir-snapcrafters "View all packages from Dwellir AB")

* [Dwellir AB](https://charmhub.io/publisher/dwellir-snapcrafters "View all packages from Dwellir AB")

Platform:

24.04

22.04

stable 7

```
juju deploy heimdall
```

[Learn to deploy on juju >](https://juju.is/docs/juju/manage-applications)

* [binary-sha256sums-signature-url](https://charmhub.io/heimdall/configurations#binary-sha256sums-signature-url)
* [binary-sha256sums-url](https://charmhub.io/heimdall/configurations#binary-sha256sums-url)
* [binary-url](https://charmhub.io/heimdall/configurations#binary-url)
* [collector-s3-credentials](https://charmhub.io/heimdall/configurations#collector-s3-credentials)
* [config-url](https://charmhub.io/heimdall/configurations#config-url)
* [data-dir](https://charmhub.io/heimdall/configurations#data-dir)
* [genesis-url](https://charmhub.io/heimdall/configurations#genesis-url)
* [require-signed-release](https://charmhub.io/heimdall/configurations#require-signed-release)
* [retention](https://charmhub.io/heimdall/configurations#retention)
* [service-args](https://charmhub.io/heimdall/configurations#service-args)
* [telemetry-binary-sha256-url](https://charmhub.io/heimdall/configurations#telemetry-binary-sha256-url)
* [telemetry-binary-url](https://charmhub.io/heimdall/configurations#telemetry-binary-url)
* [telemetry-enabled](https://charmhub.io/heimdall/configurations#telemetry-enabled)
* [telemetry-node-name](https://charmhub.io/heimdall/configurations#telemetry-node-name)

[Learn about configurations >](https://juju.is/docs/juju/configuration#heading--application-configuration)

* binary-sha256sums-signature-url | string

  URL of the detached GPG signature (.asc) of the manifest in binary-sha256sums-url.
  Leave empty to use "<binary-sha256sums-url>.asc". Required on mirrors that serve
  one file per opaque link, such as Nextcloud shares, where appending ".asc" to the
  manifest link returns the manifest again.
* binary-sha256sums-url | string

  URL of the signed PACKAGES-SHA256SUMS manifest for the .deb in binary-url. Polygon's
  release bucket is publicly readable over HTTPS, for example:
  https://storage.googleapis.com/pos-mainnet-snapshots/heimdall-private/heimdall-v0.12.1-beta-priv-PACKAGES-SHA256SUMS
  Unless binary-sha256sums-signature-url is set, the detached signature is fetched
  from this URL with ".asc" appended.
  When set, the charm verifies the Polygon release key fingerprint, the manifest
  signature and the .deb sha256 before stopping the service and installing.
  Leave empty for unverified installs from public GitHub releases.
* binary-url | string

  URL where a Heimdall .deb file can be downloaded. For example: https://github.com/0xPolygon/heimdall-v2/releases/download/v0.5.4/heimdall-v0.5.4-amd64.deb
* collector-s3-credentials | secret

  Juju secret ID value, in `secret:<id>` form, for a secret containing S3
  (or S3-compatible) target details and credentials used for uploading
  charm metadata.

  The secret must be created using `juju add-secret` with the following
  keys:

  + bucket
  + region
  + endpoint-url
  + key-prefix
  + access-key-id
  + secret-access-key
  + session-token (optional)

  Example:
  juju add-secret collector-s3-credential
  bucket=my-bucket
  region=eu-north-1
  endpoint-url=https://s3.eu-north-1.amazonaws.com
  key-prefix=uploads/
  access-key-id=...
  secret-access-key=...
  session-token=...

  Then configure the charm with the returned secret ID, for example:
  juju config <application> collector-s3-credentials=secret:abcd1234
* config-url | string

  URL where a Heimdall config .deb file can be downloaded. For example:
  https://github.com/0xPolygon/heimdall-v2/releases/download/v0.5.4/heimdall-mainnet-sentry-config\_v0.5.4-all.deb
  Note: This is only used during installation of the charm.
* data-dir | string

  Path to a location where Heimdall should write chain data and runtime
  config. If left empty, the default /home/heimdall/.heimdalld path is used.
  ONLY HAS AN EFFECT AT DEPLOYMENT TIME!
* genesis-url | string

  URL where a Heimdall genesis file can be downloaded from.
  For example:
  https://storage.googleapis.com/mainnet-heimdallv2-genesis/migrated\_dump-genesis.json
  URLs can be found here:
  https://docs.polygon.technology/pos/how-to/full-node/full-node-packages/
* require-signed-release | boolean

  When true, binary-sha256sums-url must be set. The charm refuses to install an
  unverified .deb and goes to blocked status instead.
* retention | int

  Default: 2500000

  Retention value for Heimdall.
  Set to 0 to disable retention-based pruning, or set to 2500000 or higher
  to enable it. Values lower than 2500000 except 0 are not allowed because
  Heimdall will not work properly with lower values.
* service-args | string

  Extra arguments that Heimdall service should run with.
  The charm generates:
  --home=<data-dir-or-/home/heimdall/.heimdalld>
  --api.address=tcp://0.0.0.0:1317
  --rpc.laddr=tcp://0.0.0.0:26657

  Set the home directory with the data-dir option instead of passing --home
  in service-args. The generated --api.address and --rpc.laddr values may
  be overridden in service-args, and the heimdall-client relation will
  advertise the resulting ports.
* telemetry-binary-sha256-url | string

  Optional URL of a sha256 checksum (sha256sum output or a bare hex digest) for the
  file in telemetry-binary-url. When set, a mismatch aborts the install.
* telemetry-binary-url | string

  URL of a prebuilt `telemetry` binary built from vitwit/matic-telemetry tag v0.1.4
  (see README "Telemetry" for the build recipe). Downloaded and verified before the
  telemetry service is stopped and replaced.
* telemetry-enabled | boolean

  Run the conspulse telemetry exporter (vitwit/matic-telemetry) as a separate
  systemd service next to heimdalld. It polls the local Heimdall RPC and LCD
  endpoints and pushes stats to mainnet.conspulse.com / testnet.conspulse.com.
  Enabling, disabling or reconfiguring telemetry never restarts heimdalld.
  When true, telemetry-binary-url and telemetry-node-name must be set.
* telemetry-node-name | string

  Identifier shown on the conspulse dashboard. Must be dwellir\_<network>\_<site><number>
  where <network> equals the --chain value in service-args and <site> is the
  datacenter, e.g. dwellir\_mainnet\_tor1.
  Required when telemetry-enabled is true. Keep it unique across all Dwellir nodes.
  The conspulse API URL and secret key are fixed per network inside the charm
  (mainnet and amoy); other chains are rejected.
