zuad

command module
v0.0.0-...-1e73d6d Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2024 License: ISC Imports: 3 Imported by: 0

README

Zuad

GoDoc

Zuad is the reference full node ZUA implementation written in Go (golang).

What is Zua Network

ZUA is decentralized cryptocurrency, that is making waves in the world of BlockChain. This innovative project is based on the Proof of Work consensus algorithm and uses the Blake3 hashing function to ensure the security and efficiency of its network.

Requirements

Go 1.18 or later.

Installation

Build from Source
  • 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 zuad including all dependencies:
$ git clone https://github.com/zuanet/zuad
$ cd zuad
$ [go install . ./cmd/...]
$ build.sh

  • Zuad (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.

postgres

$ sudo apt install postgresql postgresql-contrib
$ sudo -u postgres psql
$ CREATE ROLE ZUA WITH LOGIN ENCRYPTED PASSWORD '1';
$ CREATE DATABASE zua OWNER ZUA;
$ Quit psql with \q

Getting Started

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

$ cd ~/go/bin
$ ./zuad --utxoindex

Stratum server

$ git clone https://github.com/zuadanet/zua-bridge ...

Website

Join our website server using the following link: https://ZUA.com/

Twitter

Join our twitter server using the following link: https://twitter.com/ZuaCurrency

Discord

Join our discord server using the following link: https://discord.gg/YNYnNN5Pf2

Telegram

Join our telegram server using the following link: https://t.me/zuacurrency

Documentation

Overview

Copyright (c) 2023-2024 The zuanet 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.

Zuad is a full-node zua implementation written in Go.

The default options are sane for most users. This means zuad 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:

zuad [OPTIONS]

For an up-to-date help message:

zuad --help

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

Directories

Path Synopsis
app
appmessage
Package appmessage implements the zua appmessage protocol.
Package appmessage implements the zua appmessage protocol.
rpc
cmd
zuawallet/libzuawallet/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.
consensus/utils/txscript
Package txscript implements the zua transaction script language.
Package txscript implements the zua 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 zuad.
Package database provides a database for zuad.
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 Zua address manager.
Package addressmanager implements concurrency safe Zua address manager.
stability-tests
daa
testing
Package util provides zua-specific convenience functions and types.
Package util provides zua-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