The monitor is a nodeJS backend application that exposes a JSON-RPC endpoint and wraps functionalities from the rocketpool binary into web-callable functions.
Authentication of the JSON-RPC node is assumed when having access to it - so no need for additional authentication
Functions to be wrapped
[ ] rocketpool service version --> serviceVersion() returns string version
Description
The monitor is a nodeJS backend application that exposes a JSON-RPC endpoint and wraps functionalities from the rocketpool binary into web-callable functions. Authentication of the JSON-RPC node is assumed when having access to it - so no need for additional authentication
Functions to be wrapped
rocketpool service version
--> serviceVersion() returns stringversion
rocketpool wallet init
--> walletInit(password) returns stringmnemonic phrase
(*)rocketpool node status
--> nodeStatus() returns stringstatus
(*) command will use
expect
script to interact with the command line to automate the inputs and capture outputs. A sample can be found in the ETH2 keygen package https://github.com/AvadoDServer/AVADO-DNP-eth2-keygen/blob/main/build/files/mkkeys.sh