Hetu Chain is a scalable, high-throughput blockchain that is fully compatible and interoperable with Ethereum. It's built using the Cosmos SDK with EVM compatibility, supporting both Cosmos and Ethereum ecosystems.
Our documentation is hosted in a separate repository. Head over there and check it out.
Follow these steps to install Hetu Chain from source:
git clone https://github.com/hetu-project/hetu-chain.git
cd hetu-chain# Build the binary
make build
# Install the binary to your GOPATH
make installAfter installation, verify that the binary is correctly installed:
hetud versionAlternatively, you can download pre-built binaries from the latest release.
# Download the binary for your platform
wget https://github.com/hetu-project/hetu/releases/download/v0.x.x/hetud-v0.x.x-linux-amd64.tar.gz
# Extract the binary
tar -xzf hetud-v0.x.x-linux-amd64.tar.gz
# Move the binary to your PATH
sudo mv hetud /usr/local/bin/To quickly set up a local development environment, use the init.sh script:
# Initialize a single-node local network
./init.sh
# Start the node
./start_node_archive.shThis script will:
- Initialize the genesis file
- Create a validator account
- Add genesis accounts with test tokens
- Configure the node
- Start the node in development mode
For multi-node deployments in a production environment:
-
Initialize Validators: Use the
init_validators.shscript to set up validators in your network../init_validators.sh <remote_ip1> <remote_ip2> <remote_ip3> <remote_ip4>
-
Start Archive Node: For full historical data, start a node in archive mode.
./start_node_archive.sh
-
Configure Networking: Ensure proper firewall settings to allow P2P communication between nodes.
- EVM Compatibility: Full support for Ethereum smart contracts and tools
- Cosmos SDK Integration: Leverage Cosmos ecosystem features like IBC
- Bittensor-inspired Consensus: Advanced consensus mechanism for AI networks
- Subnet Architecture: Specialized subnets for different AI services
- Alpha Token System: Subnet-specific tokens for incentive alignment
The following chat channels and forums are a great spot to ask questions about Hetu Chain:
We welcome all contributions! There are many ways to contribute to the project, including but not limited to:
- Cloning code repo and opening a PR.
- Submitting feature requests or bugs.
- Improving our product or contribution documentation.
For additional instructions, standards and style guides, please refer to the Contributing document.