Integration with existing systems - netrium/Netrium GitHub Wiki

Integration

Integrating Netrium with existing and greenfield systems is relatively easy, as all inputs and outputs are either XML or plain text. Additionally, all command line tools can easily be exposed via a network service or executed via a host process.

Optimisations

There are two optimisations possible with the Netrium command line tools:

  • It is possible to pre-compile contracts for faster runtime operations. This removes the overhead involved in compiling and linking the contract files, and is best suited for cases where the system manages multiple instances of the same contract. See DarkSpreadOptionTemplate.hs in the examples folder.
  • The --fast switch should always be used with dynamically compiled contracts in production systems.