Integrate your chain with Modular services

With the TRH Platform, users can choose to integrate various components by installing or uninstalling them as needed.
Components that can be managed through the platform include:
Block Explorer: Supports both installation and uninstallation.
Bridge: Installed by default with every chain deployment, but operators can uninstall it if not needed.
Staking DAO Candidate: Allows users to register a candidate after deploying a chain if this step was skipped earlier.
Monitoring Plugin:Can be installed or uninstalled as required.
Modular Services
Block Explorer
Installation (Typical Installation Time : 8 ~ 10 minutes)
At first you need to meet the pre-requisites before you begin the Block explorer installation
Coinmarketcap API
- CoinMarket API
Please visit this link :
CoinMarketCap The World's Number 1 Cryptocurrency Market Data API
Signup and Login to the coinmarket cap. You will find the below dashboard

2. Click on COPY KEY and use it in TRH platform

b. Reown ID (Previously WalletConnect)
This guide explains how to obtain the Reown/WalletConnect Project ID.
After logging in to reown, click on Create Project.
Copy the Project ID from there at top right and use it in the TRH platform

Now, click on integrations and check the available component types

Click on “ + ” icon and input the parameters

Click on continue and confirm installation
Check the Block Explorer Installation in the deployment history tab

Check confirmation to ensure block explorer installed successfully

Uninstallation
The operator can uninstall the explorer by clicking the bin icon and confirming the action.

Bridge
Bridge is installed by default after a chain deployment. You can find the bridge link in quick links section.

If you wish to uninstall the bridge, you could do it in the integration tab section.

Clicking on the bin icon will uninstall the bridge and you can install it again

Staking/DAO Candidate
Staking/DAO candidate registration can be performed in two ways:
During the chain deployment process.
Or Separately, if the operator chose to skip registration during deployment.
Steps for Registration if Skipped During Chain Deployment
If the user skips candidate registration during chain deployment, it can still be completed after the chain is deployed. As shown in the screenshot below, the chain is deployed but candidate registration has not yet been completed.

To register a candidate in such cases, select the Staking/DAO Candidate Registration component.
Important: The operator must ensure that the admin EOA account used during chain deployment holds sufficient TON balance (minimum 1000.1 TON) to complete the staking registration successfully. Operator/users could request TON faucets from - https://sepolia.etherscan.io/address/0xd655762c601b9cac8f6644c4841e47e4734d0444#writeContract#F1. (guide)
Next, add the amount of TON to stake for candidate registration along with the candidate name and memo.

Click on continue and confirm the installation.

Please check the Deployment history tab to view the logs.
Monitoring Plugin
Pre-requisites:
Before installing the monitoring plugin, review the prerequisites section and prepare the required details. You’ll be required to setup Telegram bot and App password for gmail to receive updates on gmail as both are required.
Once the prerequisites are met, navigate to the Integrations tab of the deployed chain and select Install Monitoring Plugin.

Input a password for the grafana dashboard

To receive criteria alerts via Telegram or Email, please fill the appropriate fields using the prerequisite details that you have prepared. (All fields are mandatory)
Telegram Alerts
Telegram Bot API token: API Token for your personal bot. This token allows bots to send messages or process user requests.
Chat IDs: Unique ID for identifying a particular conversation. It is required when the bot automatically sends a message to a particular chat room.
Email Alerts
SMTP Server: Now it is fixed to smtp.gmail.com:587
From Email: Sender address
SMTP Password: App-only password for sending mail via smtp.gmail.com
Alert Receivers: Receiver addresses (at least one)

Next, open the Deployment History tab to track the initiation of the deployment and verify its completion.

Review the logs and dashboard to confirm that the installation was successful.

You can check the integrations tab and find the status of the component which is installed.

Now you can find the Grafana Dashboard button on Quick Links to access your monitoring dashboard. (username is admin) You can refer this guide for operating monitoring plugin.

Uptime
To install the uptime-service navigate to the Integrations tab of the deployed chain and select Install System Pulse.

Open the Deployment History tab to track the initiation of the deployment and verify its completion.

You can check the integrations tab and find the status of the component which is installed.

Now you can find the System Pulse button on Quick Links to access your monitoring dashboard. (username is admin and password is admin@123) You can refer this guide for operating uptime-service.
Uninstallation
The operator can uninstall the System Pulse by clicking the bin icon and confirming the action.

Last updated
