Nodechain is a service that allows you to create nodes on a blockchain and connect to them natively through APIs. The goal is to allow the user to build their own nodes natively without having to rely on external services.
[ ] I have read the Contributing file of the documentation.
[ ] I have searched the issues (including closed ones) and believe that this is not a duplicate.
Issue
At this moment the startup script has every connector URL hardcoded as http://localhost:{port}/admin/{endpoint}
We need to change this localhost to allow sysadmins to build the connector on one server and the APIs on another server.
Use case
I build the connector part on http://server-one.com and I build BTC API on http://server-two.com. Once we start BTC API, the script will make a request to localhost but the connector is not there.
Issue
At this moment the startup script has every connector URL hardcoded as
http://localhost:{port}/admin/{endpoint}
We need to change thislocalhost
to allow sysadmins to build the connector on one server and the APIs on another server.Use case
I build the connector part on
http://server-one.com
and I build BTC API onhttp://server-two.com
. Once we start BTC API, the script will make a request tolocalhost
but the connector is not there.Linked issues
133