Constructs an instance of the AppService that is used
internally as the kernel of this software.
The instance is built around the configuration files
using nest's ConfigService
.
A nestjs ConfigService instance (automatically injected).
The currently configured dApp public account information
that should (but not must) be available on the network.
We use this public information (a public key) to create
user-friendly addresses that always start with a N
.
The UTC-adjustment (in seconds) to add to block timestamps
when formatting to UTC time.
This configuration field is network-wide and changing it
may incur a change of connection or compatibility.
The blockchain network identifier. This field is used
in relation with transaction signatures to identify a
network and restricts the use of signed payloads.
This configuration field is network-wide and changing it
may incur a change of connection or compatibility.
The type of network that is used. Using dHealth, the type
of network can be TESTNET
or MAINNET
, which respectively
map to 152
and 104
.
Note that changing this configuration field affects the
dappPublicAccount property as well and may incur
a change of connection or compatibility.
Generated using TypeDoc
This class is used to initialize the software and provides general network and dApp configuration.
This class is injectable and provided by the AppModule through a call to the static AppModule.register helper method.
v0.1.0