DHC Node Setup
Create Wallet Account
You can create a new wallet address directly within the browser plugin wallet like MetaMask and export the private key for later use.
Remote SSH server login
To log into the SSH server via the account password set when purchasing the server and the public IPv4 address automatically assigned to the instance by the cloud service provider.
Option 1. The built-in system terminal:
For Mac systems and native Linux systems, you can use the built-in terminal simulator to log in.
For Windows systems, you can use the built-in PowerShell tool to log in. You need to run PowerShell as administrator and install the OpenSSH plugin. The plugin installation tutorial link is as Get started with OpenSSH for Windows
login Method: After opening the terminal, enter "ssh username@public IP address" (e.g. ssh [email protected]), then enter the password according to the prompt to complete the login.
Option 2. The third-party SSH login tools:
Third-party SSH login tools such as Xshell, PuTTY, SimpleRemote, Terminus, etc. You can refer to the relevant product tutorials to log in by yourself.
Option 3. The built-in server method of cloud service:
Different cloud service providers may provide their online server management consoles, through which you can log in graphically, such as logging in to EC2 instances on Amazon Web Services through the EC2 console page. Please refer to the help documents provided by each cloud service provider.

Install runtime environment
Create a node storage directory and startup file
Exposing the node's external IP is important to increase DHC's stability
Synchronizing blocks will take more time, and we provide snapshots to speed up chain startup. Reference run a chain via snapshot.
Configure the sgx server
Modify keyring.toml configuration file
Please check out the latest DHC bootnodes here in advance and do the replacement if changed.
Modify sgx_default_qcnl.conf file
Try the local solution here if you can't find the solutions for the cloud services below.
Modify docker-compose file (Optional)
You need to change the configuration here and replace the "<version_no>" underneath only when the official image version is updated, please refer to this link for the exact version information.
The latest version of the image is: v0.12.20
Start DHC Node Service
Update Device Version
Please maintain your image of the DHC server by updating it with the latest official version.
You can follow this step by step:
1. Exit the service
Device upgrades must be performed on "Standby" status.
If the device is on "Serving" status, it must be exited before starting the upgrade. If the device is on "Exiting" status, wait up to one day until the process is complete before proceeding.
2. Update the script file
Then check out the version of your device on the Node Explorer.

3. Rejoin the service
You can join the service again after all the steps above are done and wait until the device changes to "Serving" status.
4. Remove backup data (Optional)
Case Study
If you're facing problems in the setup process, try to find a solution here.
Last updated