This service is in charge of checking that the service keys exist and subscribing the communities that use it to the LibreNet6 network. Displays an endpoint POST /submit that receives the parameters generated by the federated-server on the FBW
It also has four commands:
-
npm run key:list
-
npm run key:generate
-
npm run key:delete [KEY]
-
npm run key:resend [KEY]
This app uses dotenv to load the configuration, which can also be set by environment variables.
- DB database name
- PORT port where the server starts
- LNET6_BOT_URL remote support bot url (in charge of adding the pubKey to librenet6)