/nem

number go up 💹

Primary LanguageJavaMIT LicenseMIT

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.

If you are using a version of Java higher than 8:

for folder in core deploy nis peer; do pushd "${folder}"; ./setup_java9.sh; popd ; done

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.