Skip to content

NXT-Crypto/nxtchain

Repository files navigation

🔗 NxtChain

NxtChain is a blockchain written in Go. It includes features such as block creation, transaction handling, and peer-to-peer synchronization.

🚀 Getting Started

📖 Prerequisites

  • Go 1.23.4 or later

📂 Installation

  1. Clone the repository:

    git clone https://github.com/NXT-Crypto/nxtchain.git
    cd nxtchain
  2. Install dependencies:

    go mod tidy

🔨 Building the Project

To build the project, simply run the provided buildscript build.sh:

# Mark build.sh as executable if needed
chmod +x ./build.sh

# Run the script
./build.sh

The buildscript will then build the NxtChain for multiple operating systems. You will find your built binaries in the ./build folder.

If automatic builds without user inputs are required, you can add arguments after ./build.sh as shown here:

# Build the miner
./build.sh miner

# Build the node
./build.sh node

# Build the wallets
./build.sh wallet

# Build everything
./build.sh all

If you are using Windows to build the NxtChain, use a tool such as Git Bash or WSL to run the buildscript. A batch file for Windows is NOT provided.

If you don't want to build the NxtChain yourself, you will always find a prepared build of the latest commits on the releases page.

About

NXTChain is a blockchain written in Go

Resources

Stars

Watchers

Forks

Packages

No packages published