|
1 | | -# Getting Started |
| 1 | +--- |
| 2 | +description: >- |
| 3 | + This page describes first steps with the Guardian and digital environmental |
| 4 | + assets for all users. |
| 5 | +--- |
2 | 6 |
|
3 | | -## **1. Introduction** |
| 7 | +# First steps with digital environmental assets (simplified) |
4 | 8 |
|
5 | | -The Guardian is an 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. |
| 9 | +{% hint style="warning" %} |
| 10 | +This page is under development and part of the **3.7 Getting Started Epic**  |
6 | 11 |
|
7 | | -Below are the universal software prerequisites, followed by network-specific items. |
| 12 | +The purpose of this page is to create a friendly guide to help a new user take their first steps in the Hedera Guardian. This page is descriptive only and will introduce all users of high level concepts without relying upon custom setuup, roles, permissions, or test data. |
| 13 | +{% endhint %} |
8 | 14 |
|
9 | | -## 2. Prerequisites |
| 15 | +* #### Get set up • 0/5 steps |
10 | 16 |
|
11 | | -### 2.1 Universal software |
| 17 | +{% stepper %} |
| 18 | +{% step %} |
| 19 | +### Set up your Hedera account |
12 | 20 |
|
13 | | -1. [Git](https://git-scm.com/downloads) – source-control tooling |
14 | | -2. [Docker](https://www.docker.com/) – one-command build & run |
15 | | -3. [MongoDB v6](https://www.mongodb.com/), [Node.js v16](https://nodejs.org/en), and [NATS 1.12.2](https://nats.io/) – auto-installed when using Docker-Compose |
16 | | -4. [Web3.Storage account](https://web3.storage/) – IPFS pinning service |
17 | | -5. [Filebase account](https://filebase.com/) – S3-compatible IPFS pinning |
18 | | -6. [Redis 7.3.0](https://redict.io/) – in-memory cache & message broker (auto-provisioned by the Docker stack) |
| 21 | +<details> |
19 | 22 |
|
20 | | -### 2.2 Hedera network |
| 23 | +<summary>Details on setting up a Hedera account</summary> |
21 | 24 |
|
22 | | -| | Testnet (default) | Mainnet (production) | |
23 | | -| ------------ | --------------------------------------------------------------------- | ------------------------------------------------------------------------------ | |
24 | | -| **Account** | Create via [Hedera Developer Portal](https://portal.hedera.com/login) | Create via Hedera-enabled wallet (e.g., [HashPack](https://www.hashpack.app/)) | |
25 | | -| **Key type** | ED25519 | ED25519 | |
26 | | -| **Network** | `testnet` | `mainnet` | |
| 25 | +1. Create a Testnet account via the [Hedera Developer Portal](https://portal.hedera.com/login). |
| 26 | +2. Record your **Account ID** (`0.0.x`). |
| 27 | +3. Download the **ED25519** private key (ignore **ECDSA**) |
| 28 | + * Select **DER Encoded** — _do not_ choose _HEX Encoded_. |
27 | 29 |
|
28 | | -> **Fees**: Mainnet operations incur HBAR costs—fund your account before running Guardian. |
| 30 | +</details> |
| 31 | +{% endstep %} |
29 | 32 |
|
30 | | -*** |
| 33 | +{% step %} |
| 34 | +### Import a policy |
31 | 35 |
|
32 | | -## 3. Preparing a Mainnet Account & Keys |
| 36 | +<details> |
33 | 37 |
|
34 | | -1. Install a Hedera-enabled wallet (e.g., [HashPack](https://www.hashpack.app/)). |
35 | | -2. Create a Mainnet account and note the **Account ID** (`0.0.x`). |
36 | | -3. Export the **ED25519** key pair |
37 | | - * _HashPack path_: **Settings → Manage Accounts → Export Private Key** (DER format). |
38 | | -4. Update your `.env` |
| 38 | +<summary>Import a policy from the methodology library</summary> |
39 | 39 |
|
40 | | - ```dotenv |
41 | | - HEDERA_NET=mainnet |
42 | | - HEDERA_OPERATOR_ID=0.0.123456 |
43 | | - HEDERA_OPERATOR_KEY=-----BEGIN PRIVATE KEY----- … -----END PRIVATE KEY----- |
44 | | - ``` |
| 40 | +Policy's are digital workflows and are at the heart of the Guardian. Visit \[LINK: AUTHOR] to import a sample policy from the methodology library. |
45 | 41 |
|
46 | | -## 4. Preparing a Testnet Account & Keys |
| 42 | +</details> |
| 43 | +{% endstep %} |
| 44 | + |
| 45 | +{% step %} |
| 46 | +### Publish a policy to testnet |
| 47 | + |
| 48 | +<details> |
| 49 | + |
| 50 | +<summary>Publish your first policy to the Hedera testnet </summary> |
| 51 | + |
| 52 | +Visit the \[LINK: REGISTRY] to publish your first policy. This is how registry operators would publish policies and begin accepting submissions.  |
| 53 | + |
| 54 | +</details> |
47 | 55 |
|
48 | | -1. Create a Testnet account via the [Hedera Developer Portal](https://portal.hedera.com/login). |
49 | | -2. Record your **Account ID** (`0.0.x`). |
50 | | -3. Download the **ED25519** private key (ignore **ECDSA**) |
51 | | - * Select **DER Encoded** — _do not_ choose _HEX Encoded_. |
52 | | -4. Update your `.env` |
53 | 56 |
|
54 | | - ```dotenv |
55 | | - HEDERA_NET=testnet |
56 | | - HEDERA_OPERATOR_ID=0.0.987654 |
57 | | - HEDERA_OPERATOR_KEY=-----BEGIN PRIVATE KEY----- … -----END PRIVATE KEY----- |
58 | | - ``` |
| 57 | +{% endstep %} |
59 | 58 |
|
60 | | -## 5. Installation |
| 59 | +{% step %} |
| 60 | +### Submit data |
61 | 61 |
|
62 | | -1. **Docker-Compose** |
| 62 | +<details> |
63 | 63 |
|
64 | | - ```bash |
65 | | - docker compose -f ./deploy/docker-compose.yml --profile all up -d |
66 | | - ``` |
| 64 | +<summary>Project proponents submit data </summary> |
67 | 65 |
|
68 | | - _(Detects Testnet/Mainnet from `.env`)_ |
69 | | -2. **Pre-built containers** — pull `hashgraph/guardian:latest` and supply `.env` as a secret. |
70 | | -3. **Manual build** — clone repo, install Node deps, compile, start services. |
| 66 | +Visit a \[LINK: PROJECT] to view your policy running on testnet and submit data. This is how a project proponents would submit their project for verification and validation.  |
71 | 67 |
|
72 | | -## **6. Troubleshooting** |
| 68 | +</details> |
| 69 | +{% endstep %} |
73 | 70 |
|
74 | | -* **Server not starting?** Ensure that Docker is running and all containers are up. |
75 | | -* **Cannot access the admin dashboard?** Check if the correct ports (3000) are open and not blocked by your firewall. |
76 | | -* **Issues with API calls?** Verify that your Hedera account ID and private key are correctly configured in the `.env` file. |
77 | | -* For additional help, visit the [Hedera Guardian GitHub Issues](https://github.com/hashgraph/guardian/issues). |
| 71 | +{% step %} |
| 72 | +### Inspect documents |
78 | 73 |
|
79 | | -## **7. Additional Resources** |
| 74 | +<details> |
80 | 75 |
|
81 | | -* [Hedera Guardian Documentation](https://guardian.hedera.com) |
82 | | -* [Hedera Developer Portal](https://portal.hedera.com/login) |
83 | | -* [Roadmap](guardian/readme/roadmap.md) |
84 | | -* [Youtube Channel](https://www.youtube.com/@envisionblockchain/featured) |
| 76 | +<summary>Visit the Audit section to inspect documents</summary> |
85 | 77 |
|
86 | | -## **8. Feedback and Support** |
| 78 | +Visit the \[LINK: AUDIT] interface to inspect the documents created after data was submitted for the policy. This is how auditors and VVBs would review projects submitted by project proponents.  |
87 | 79 |
|
88 | | -* Please send feedback, feature, and support requests to [guardian-feedback@hashgraph.com](mailto:guardian-feedback@hashgraph.com?subject=Re:%20Hedera%20Guardian%20Feedback%20or%20Request\&body=This%20is%20%5Bfeedback%20%7C%20support%20request%20%7C%20feature%20request%5D%0A%0A--%0A%0AAdd%20a%20summary%20here.)  |
89 | | -* You can also open issues and feature requests in the [GitHub repository](https://github.com/hashgraph/guardian/issues). |
| 80 | +</details> |
| 81 | +{% endstep %} |
| 82 | +{% endstepper %} |
90 | 83 |
|
91 | | -## **9. Legal and Licensing** |
| 84 | +### Go further |
92 | 85 |
|
93 | | -* Hedera Guardian is open-source and licensed under the Apache 2.0 License. Please review the [LICENSE](../LICENSE/) file for more details. |
| 86 | +* LINK Digitizing Methodology Guide |
| 87 | +* LINK Subscribe to community calendar |
| 88 | +* LINK Feedback & Support |
| 89 | +* LINK Contributing |
0 commit comments