Skip to content

NXT-Crypto/nxtchain

Folders and files

NameName
Last commit message
Last commit date
Feb 12, 2025
Jan 27, 2025
Jan 27, 2025
Feb 18, 2025
Jan 30, 2025
Feb 11, 2025
Feb 21, 2025
Feb 21, 2025
Feb 21, 2025
Feb 18, 2025
Feb 4, 2025
Jan 26, 2025
Jan 29, 2025
Jan 30, 2025
Feb 21, 2025
Feb 14, 2025
Feb 19, 2025
Feb 14, 2025
Feb 11, 2025
Feb 18, 2025
Feb 18, 2025

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.