This project contains NEM Infrastructure Server and all its dependencies. It is the simplest way to quickly build and launch a NEM node.
The main folders are:
Folder | Content |
---|---|
core |
The core dependency. |
deploy |
The deploy dependency. |
peer |
The peer dependency. |
nis |
The nis dependency. |
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
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.
Before contributing please read the CONTRIBUTING instructions.
- NEM Developer Documentation.
- NEM Technical Reference.
- Join the community Discord server.
- If you found a bug, open a new issue.
Copyright (c) 2014-2021 NEM Contributors, licensed under the MIT license.