The service facilitates registration through Libp2p messages via a WebSocket connection. It leverages the proxy to retrieve Libp2p messages. Upon receiving the registration messages, a new user is created in the Odoo Robonomics Report Service addon using the Odoo API. Subsequently, a Pinata API key is generated, and XRT tokens are dispatched to the customer's address for subscription purchase. This service runs a Flask app on the 5000 port so it should be available.
Requirements:
Installation:
git clone https://github.com/PinoutLTD/rrs-registrar.git
pip3 -r requirements.txt
cp template.env .env
Set the configuration file by specifying Odoo, Robonomics and Pinata credentials.
Launch:
python3 main.py