Overview

The ADAPT native wrapper is an implementation of the ADAPT wrapper that hosts the ADAPT evaluation environment using the native node.js binding. This utility is used to run an ADAPT node as part of a Linux server, for example.

This topic describes ADAPT wrapper details specific to the native binding. Reading the ADAPT wrapper overview first will give you a much better understanding of this topic.

The native wrapper uses the native version of the ADAPT JS API that resides at /mufl/addon/adapt_js in the ADAPT Docker development kit and at ./addon/adapt_js in the main git repository.

The native wrapper enables running ADAPT packets as a standalone server, with no direct user interactions. Thus, features such as verification requests are not supported.

The native build uses the sodium library for its cryptographically secure random generator.

To run ADAPT on a Linux machine, you must use the native adapt wrapper. The native ADAPT wrapper script resides at /mufl/utilities/executables/dist/adapt_wrapper_native.js in the ADAPT Docker development kit and at ./utilities/executables/src/adapt_wrapper_native.ts in the main git repository.

For usage instructions, refer to the ADAPT wrapper usage help.