DexyProject / dexy-ui

UI for DEXY exchange
https://dexy.exchange
2 stars 0 forks source link

load config dynamically based on net #47

Open Ivshti opened 6 years ago

Ivshti commented 6 years ago

work on this was started but stashed since it turns out to be more complex than expected

cause getting the network from metamask is asynchronous, while we need to load it synchronously at start-up of the app

a possible solution is to load config based on subdomain or hostname in general