Skip to content

NemProject/nem

Repository files navigation

NIS client

This project contains NEM Infrastructure Server and all its dependencies. It is the simplest way to quickly build and launch a NEM node.

Package Organization

The main folders are:

Folder Content
core The core dependency.
deploy The deploy dependency.
peer The peer dependency.
nis The nis dependency.

Building the package

The package uses Apache Maven and minimum required Java SDK version to build is Java 11.

Please make sure that the Java version is 11+ by running the following command:

java -version
# should print sth similar to: openjdk version "11.0.2" 2019-01-15

Build the package as usual:

mvn package

Then check that unit tests are passing by running:

mvn test

Optionally, check if the slower integration tests are passing by running:

mvn failsafe:integration-test

Running the package

NIS nodes are configured through property files. Create a folder named staging and add any required property files inside.

Then run the node with:

java -Xms6G -Xmx6G -cp ./staging:./nis/target/libs/*:./nis/target/* org.nem.deploy.CommonStarter

Read the NEM node documentation to know more about handling NIS nodes.

Contributing

Before contributing please read the CONTRIBUTING instructions.

Getting Help

License

Copyright (c) 2014-2021 NEM Contributors, licensed under the MIT license.