Skip to content

Latest commit

 

History

History
59 lines (39 loc) · 1.84 KB

03-01-Fast-Build.md

File metadata and controls

59 lines (39 loc) · 1.84 KB

Fast Build

Summary

Hetu Chain is a scalable, high-throughput blockchain that is fully compatible and interoperable with Ethereum. It's built using the Cosmos SDK and implements Narwhal+Bullshark consensus mechanism for improved performance and scalability.

Hetu Chain

Installation

For prerequisites and detailed build instructions please read the Installation instructions. Once the dependencies are installed, run:

make install

Recommended configuration

  • Server system: ubuntu
  • CPU: 8C
  • Memory: 16G
  • Disk: 1T
  • Bandwidth: 100 MB/s

Or check out the latest release.

Deployment

Important: Before deploying, ensure that the Narwhal mempool is deployed. See hetu-parallel-engine/hetu-consensus for details.

Local Deployment

To deploy locally, use the local_node.sh script. This script will set up a local environment for running the Hetu Chain node.

./local_node.sh

Remote Deployment

For remote deployment, ensure that hhubd is available in the PATH on each machine. It is also recommended to set up SSH keys on the remote machines for secure and passwordless access.

  1. init_validators.sh: This script initializes the validators required for the Hetu Chain. You need to provide the remote IPs for the 4 validators in the network as parameters.

    ./init_validators.sh <remote_ip1> <remote_ip2> <remote_ip3> <remote_ip4>
  2. start_node_archive.sh: This script starts the node in archive mode.

    ./start_node_archive.sh

These scripts will help you set up and run the Hetu Chain on a remote server.