Welcome to the Elastos Blog
Read it here first
HiveHub: Evolving Decentralized Storage in the Elastos Ecosystem
Hive, an integral part of the Elastos tech stack, has recently received a significant upgrade with the development of the HiveHub web app by the Trinity Tech team. HiveHub offers users the ability to deploy their Hive nodes and register them on the Elastos Smart Contract Chain (ESC). Users in the Elastos ecosystem can also personalize their Vaults for storing application data, browse Hive nodes, monitor deployed nodes, and seamlessly back up or migrate their data stored in their Vault. This article explores the key features of HiveHub, its integration across the Elastos ecosystem, and upcoming developments.
Enhanced Functionality on HiveHub
HiveHub, the all-in-one web app, brings several new capabilities to Hive users within the Elastos ecosystem.
- Users can explore and select their preferred Hive nodes to create Vaults for secure application data storage.
- Users can easily create the .env config file needed when deploying Hive node.
- Users can register their Hive node(s) as NFTs for public visibility. These registered Hive nodes are ERC721-compatible NFTs, showcased collectively on the official HiveHub website and Pasar DeMKT.
- Users can conveniently back up their Vault data or migrate it to other Hive nodes.
- Deploy and register your Hive node to take advantage of the Hive economic model of monetizing it to community members that utilize storage past 500 MB and profit in ELA
HiveHub provides a user-friendly interface for browsing, monitoring, and managing deployed Hive nodes and personal Vaults.
Future Developments and Integration Efforts
The Trinity Tech team is committed to optimizing HiveHub’s performance and stability through ongoing tests. They are actively working on integrating PricingPlan, a payment toolset already implemented on Hive. This integration will enable subscription-based payment models to drive growth in Hive Vaults. Additionally, the team aims to leverage IPFS nodes to develop a Hive-native service, ensuring the accessibility of NFT image data on Hive Vaults. These efforts reflect the continuous commitment of the Trinity Tech team to enhance HiveHub’s functionalities and create a seamless user experience.
Deploy a Hive Node
Before deploying a Hive node, users must first register a Decentralized Identifier (DID) using the Essentials wallet and publish it. Following this, users need to set up a .env file. This .env configuration file plays a vital role in initializing and deploying a Hive node, offering a layer of protection for sensitive information. It also conveniently enables users to change values in the .env file without altering the code when deploying the application in various environments. The following instructions will guide you in creating a .env file and deploying a Hive node.
– Instructions to Create .env file
To configure a .env file for your Hive node on HiveHub, please follow these steps:
1) Visit the HiveHub website and locate the barcode for scanning
2) Scan the barcode using Essentials to establish a connection with the HiveHub.
3) From the Dashboard, navigate to “My Nodes.”
4) Look for the option “Configure .env file” and click on it.
5) Upon logging in, your Elastos DID will automatically appear on the page.
6) Please provide a desired password and then enter it again in the “Repeat Password” field. This password will be used internally for Hive node service access or for updating service DID didstore data.
7) Please provide the following information: your payment ESC address, node name, node description, and email. The payment address will be used to receive payment from Vault users when their Vault storage exceeds the quotas.
8) After entering all the required information, select the “Generate .env File” option.
9) Once the .env file is generated, download it onto your Linux VPS device.
After generating the .env file, the node owner is now ready to deploy the Hive node.
– Instructions to Deploy Your Hive Node
Here are the instructions to deploy a Hive node using Docker on a Linux VPS device:
1) Install the Docker Environment: Adhere to the official Docker installation guide pertinent to your Linux distribution to ensure Docker is correctly installed and operational on your VPS device.
2) Prepare the .env File: Confirm the readiness of your .env file, equipped with all necessary configuration values for the Hive node deployment. This file should encompass crucial environment variables like API keys, database credentials, among others.
3) Clone the Repository: Open the terminal on your VPS device and execute the subsequent commands:
$ git clone https://github.com/trinity-tech-io/Hive.Node.Docker
$ cd Hive.Node.Docker
4) Copy the .env File: Replicate your pre-configured .env file into the Hive.Node.Docker directory with the following command:
$ cp /path/to/your/.env ./Hive.Node.Docker/
5) Deploy Hive Node Containers: Once the .env file is correctly positioned, initiate the deployment of the Hive node containers with the command:
$ docker-compose up -d
6) Verify Deployment: Post execution of the command, Docker commences the processes of pulling, building the requisite images, and launching the containers for Hive IPFS, Hive node, and MongoDB. Validate the deployment by running the command:
$ docker ps
This command will present a list of active containers, among which you should find containers with labels like trinitytech/hiveipfs, trinitytech/hivenode, and mongodb.
If the deployment is successful and the containers are running, your Hive node will be operational. Ensure regular monitoring of the logs and check the documentation of the cloned repository for additional configuration or usage instructions tailored to your Hive node.
For comprehensive instructions related to creating the .env file and deploying your Hive node, kindly refer to the provided Github repository.
Publish a Hive Node
In order to make your Hive node public for other users to utilize storage and potentially get monetized, it must be registered via HiveHub. Registering a Hive node involves making the Hive node service accessible to the community by converting it into a publicly tradable NFT (Non-Fungible Token) and showcasing the NFT within the Pasar Hive node registry NFT collection.
To register a Hive node on HiveHub, follow these steps:
- On the Dashboard, locate and select “My Nodes” from the side menu.
- Find the “Register Node” option and choose it.
- The next screen will automatically display your Elastos DID.
- Input the website where you plan to host your Hive node.
- After entering the website information, click on “Deploy Node” to proceed.
By adhering to these steps, you can successfully register your Hive node on HiveHub.
Create/Access the Vault
Users can use both the Essentials wallet and Hivehub to create the Vault. By using the HiveHub, users can access and browse all the data being utilized across multiple dApps on the Elastos platform. To view your Vault associated with your DID, simply go to the dashboard of the HiveHub and navigate to the “Vault” tab. From there, you will be able to see your DID-linked Vault
Seamless Data Migration and Backup
HiveHub offers users a range of options to ensure the security and transfer of their data within their Vaults. For instance, let’s consider a user named John who has been using Trinity Tech as a storage provider. John can ensure the safety of his data within the Vault by generating a backup prior to engaging Trinity Tech for their storage solutions, in case he learns that the company no longer provides such services. This backup will be useful in case Trinity Tech shuts down its Vault. John can then create a new Vault, retrieve all the stored data from the previous Vault, and upload it to the newly created one.
Additionally, HiveHub enables users to migrate their data and storage from one node to another. Users have the freedom to choose where their storage and data are housed, and they can seamlessly transfer this information between nodes.
To access these features, users can simply navigate to the HiveHub Dashboard and go to the “Settings” section. From there, they can locate the “Back up Node” or “Migrate Node” options to perform these actions.
With the launch of HiveHub, the Elastos ecosystem gains an enhanced web app that empowers users to deploy Hive nodes, manage personal Vaults, and take advantage of decentralized data storage. The seamless integration of Hive across various Elastos projects has already proven its reliability and utility. Looking ahead, the Trinity Tech team is dedicated to optimizing HiveHub, integrating payment tools, and leveraging IPFS nodes to further enrich Hive’s capabilities. As Hive continues to evolve and expand, it solidifies its position as a powerful web3 platform service within the Elastos ecosystem. The HiveHub website is undergoing constant enhancements. Please reach out to the Trinity Tech Team for any inquiries or suggestions you may have.