githubEdit

Getting Started

1. Introduction

The Guardian is an innovative open-source platform that streamlines the creation, management, and verification of digital environmental assets. It leverages a customizable Policy Workflow Engine and Web3 technology to ensure transparent and fraud-proof operations, making it a key tool for transforming sustainability practices & carbon markets.

Below are the universal software prerequisites, followed by network-specific items.

2. Prerequisites

2.1 Universal software

  1. Gitarrow-up-right – source-control tooling

  2. Dockerarrow-up-right – one-command build & run

  3. MongoDB v6arrow-up-right, Node.js v16arrow-up-right, and NATS 1.12.2arrow-up-right – auto-installed when using Docker-Compose

  4. Web3.Storage accountarrow-up-right – IPFS pinning service

  5. Filebase accountarrow-up-right – S3-compatible IPFS pinning

  6. Redis 7.3.0arrow-up-right – in-memory cache & message broker (auto-provisioned by the Docker stack)

2.2 Hedera network

Testnet (default)
Mainnet (production)

Account

Create via Hedera-enabled wallet (e.g., HashPackarrow-up-right)

Key type

ED25519

ED25519

Network

testnet

mainnet

Fees: Mainnet operations incur HBAR costsβ€”fund your account before running Guardian.


3. Preparing a Mainnet Account & Keys

  1. Install a Hedera-enabled wallet (e.g., HashPackarrow-up-right).

  2. Create a Mainnet account and note the Account ID (0.0.x).

  3. Export the ED25519 key pair

    • HashPack path: Settings β†’ Manage Accounts β†’ Export Private Key (DER format).

  4. Update your .env

4. Preparing a Testnet Account & Keys

  1. Create a Testnet account via the Hedera Developer Portalarrow-up-right.

  2. Record your Account ID (0.0.x).

  3. Download the ED25519 private key (ignore ECDSA)

    • Select DER Encoded β€” do not choose HEX Encoded.

  4. Update your .env

5. Installation

  1. Docker-Compose

    (Detects Testnet/Mainnet from .env)

  2. Pre-built containers β€” pull hashgraph/guardian:latest and supply .env as a secret.

  3. Manual build β€” clone repo, install Node deps, compile, start services.

6. Troubleshooting

  • Server not starting? Ensure that Docker is running and all containers are up.

  • Cannot access the admin dashboard? Check if the correct ports (3000) are open and not blocked by your firewall.

  • Issues with API calls? Verify that your Hedera account ID and private key are correctly configured in the .env file.

  • For additional help, visit the Hedera Guardian GitHub Issuesarrow-up-right.

7. Additional Resources

8. Feedback and Support

  • Hedera Guardian is open-source and licensed under the Apache 2.0 License. Please review the LICENSEarrow-up-right file for more details.

Last updated

Was this helpful?