HTND

command module
v1.6.10 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 27, 2026 License: ISC Imports: 8 Imported by: 0

README

Hoosat Network Daemon

ISC License
GoDoc

Hoosat Network Daemon is the reference full node implementation for Hoosat Network, written in Go (Golang).

What is Hoosat Network?

Hoosat Network is an advanced cryptocurrency built with an ASIC-resistant proof-of-work (PoW) algorithm. It offers instant confirmations and sub-second block times, designed for both security and performance. Hoosat Network is a fork of Kaspa and utilizes the GhostDAG protocol, a generalization of the Nakamoto consensus.

One of the most distinctive features of Hoosat Network is its unique PoW security. Hoosat Network is the first and only cryptocurrency that integrates advanced protection against nonce-guessing attacks of any level, including those that could potentially be launched using Grover's algorithm in quantum computing. This security is enabled by our patent pending technology, "Securing Proof-of-Work Integrity," which sets Hoosat Network apart as a truly quantum-resistant cryptocurrency.

Hoosat Network is open-source, but it also includes patent pending technology to ensure its security, making it an exceptional and innovative project in the blockchain space.

Key Features

  • ASIC-resistant: Designed to resist specialized mining hardware (ASICs), ensuring that mining remains decentralized and accessible.
  • Quantum-resistant PoW: The first cryptocurrency to offer PoW security against nonce-guessing attacks, including resistance to quantum algorithms like Grover’s algorithm.
  • Fast Block Times: Sub-second block times and instant transaction confirmations, making Hoosat Network highly efficient and scalable.
  • Open Source: Hoosat Network is fully open-source, allowing community contributions and transparent development.

Requirements

Go 1.26 or later.

Installation

Build from Source (Linux)
  • Install Go according to the installation instructions here: http://golang.org/doc/install

  • Ensure Go was installed properly and is a supported version:

$ go version
  • Run the following commands to obtain and install htnd including all dependencies:
$ git clone https://github.com/Hoosat-Oy/HTND
$ cd HTND
$ go install . ./cmd/...
  • HTND (and utilities) should now be installed in $(go env GOPATH)/bin. If you did not already add the bin directory to your system path during Go installation, you are encouraged to do so now.
Build from Source (Windows)
$ go version
  • Run the following commands to obtain and install htnd including all dependencies:
git clone https://github.com/Hoosat-Oy/HTND
cd HTND
go install -ldflags="-s -w" --tags="deadlock pebblegozstd" . ./cmd/... 
  • HTND (and utilities) should now be installed in $(go env GOPATH)/bin. If you did not already add the bin directory to your system path during Go installation, you are encouraged to do so now.

Getting Started

HTND has several configuration options available to tweak how it runs, but all of the basic operations work with zero configuration.

$ htnd

Discord

Join our discord server using the following link:

Issue Tracker

The integrated github issue tracker is used for this project.

Documentation

The documentation is a work-in-progress

License

HTND is licensed under the copyfree ISC License.

Documentation

Overview

Copyright (c) 2024-2025 Hoosat Oy Copyright (c) 2018-2019 The kaspanet developers Copyright (c) 2013-2018 The btcsuite developers Copyright (c) 2015-2016 The Decred developers Copyright (c) 2013-2014 Conformal Systems LLC. Use of this source code is governed by an ISC license that can be found in the LICENSE file.

htnd is a full-node hoosat implementation written in Go.

The default options are sane for most users. This means htnd will work 'out of the box' for most users. However, there are also a wide variety of flags that can be used to control it.

Usage:

htnd [OPTIONS]

For an up-to-date help message:

htnd --help

The long form of all option flags (except -C) can be specified in a configuration file that is automatically parsed when htnd starts up. By default, the configuration file is located at ~/.htnd/htnd.conf on POSIX-style operating systems and %LOCALAPPDATA%\htnd\htnd.conf on Windows. The -C (--configfile) flag can be used to override this location.

Directories

Path Synopsis
app
appmessage
Package appmessage implements the hoosat appmessage protocol.
Package appmessage implements the hoosat appmessage protocol.
rpc
cmd
genkeypair command
htnctl command
htnminer command
htnwallet command
htnwallet/libhtnwallet/bip32/base58
Package base58 provides an API for working with modified base58 and Base58Check encodings.
Package base58 provides an API for working with modified base58 and Base58Check encodings.
ldbtool command
consensus/utils/txscript
Package txscript implements the hoosat transaction script language.
Package txscript implements the hoosat transaction script language.
dagconfig
Package dagconfig defines DAG configuration parameters.
Package dagconfig defines DAG configuration parameters.
infrastructure
db/database
Package database provides a database for htnd.
Package database provides a database for htnd.
logger
Package logger defines an interface and default implementation for subsystem logging.
Package logger defines an interface and default implementation for subsystem logging.
network/addressmanager
Package addressmanager implements concurrency safe Hoosat address manager.
Package addressmanager implements concurrency safe Hoosat address manager.
stability-tests
daa
hoosatdsanity command
many-tips command
minejson command
netsync command
orphans command
reorg command
rpc-stability command
simple-sync command
testing
Package util provides hoosat-specific convenience functions and types.
Package util provides hoosat-specific convenience functions and types.
bech32
Package bech32 provides a Go implementation of the bech32 format.
Package bech32 provides a Go implementation of the bech32 format.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL