You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+21-1Lines changed: 21 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -27,11 +27,31 @@ NxtChain is a blockchain written in Go. It includes features such as block creat
27
27
To build the project, simply run the provided buildscript `build.sh`:
28
28
29
29
```sh
30
-
bash ./build.sh
30
+
# Mark build.sh as executable if needed
31
+
chmod +x ./build.sh
32
+
33
+
# Run the script
34
+
./build.sh
31
35
```
32
36
33
37
The buildscript will then build the NxtChain formultiple operating systems. You will find your built binariesin the `./build` folder.
34
38
39
+
If automatic builds without user inputs are required, you can add arguments after `./build.sh` as shown here:
40
+
41
+
```sh
42
+
# Build the miner
43
+
./build.sh miner
44
+
45
+
# Build the node
46
+
./build.sh node
47
+
48
+
# Build the wallets
49
+
./build.sh wallet
50
+
51
+
# Build everything
52
+
./build.sh all
53
+
```
54
+
35
55
If you are using Windows to build the NxtChain, use a tool such as [Git Bash](https://git-scm.com/downloads/win) or [WSL](https://learn.microsoft.com/en-us/windows/wsl/install) to run the buildscript. A batch file for Windows is **NOT** provided.
36
56
37
57
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](https://github.com/NXT-Crypto/nxtchain/releases/tag/latest).
0 commit comments