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 own 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

Note: Some hosting service providers' built-in terminals will recognize space characters as indent characters during code copying, which may lead to YAML program runtime errors. Please check and replace.

Configure the sgx server

Modify keyring.toml configuration file

Please checkout the latest DHC bootnodes here in advance and do the replacement if changed.

Be aware of that identity = "0x" + "private key" and the total length must be 66.

Modify sgx_default_qcnl.conf file

Choose wisely with your cloud service provider and make the change.

Modify docker-compose file (Optional)

You need to change the configuration here and replace the "<version_no>" underneath only when the official mirror version is updated, please refer to this link for the exact version information.

The latest version of the mirror is: v0.6.6

Start DHC Node Service

Case Study

If you're facing problems in setup process, try to find a solution here.

Last updated