YaleOpenLab / opensolar

Opensolar is a platform powered by openx for funding smart solar infrastructure using the Stellar blockchain.
https://openx.solar
GNU General Public License v3.0
20 stars 9 forks source link

add support for other openx based platforms #24

Closed Varunram closed 4 years ago

Varunram commented 5 years ago

Right now, open solar is isolated from openx and calls for everything it needs from openx's RPCs. But openx calls some opensolar handlers directly (example the validate route where it makes a direct call to the database) and this must be resolved since it can't be assumed that opensolar and openx are run from the same instance. This would mean creation of an RPC on opensolar's end, having an access code and taking it from there.

Varunram commented 4 years ago

openx and opensolar are isolated in functions now, the dependency to call opensolar functions from openx has been eliminated.