DeXter-on-Radix / website

Community built order book dex on Radix.
https://dexteronradix.com/
Other
11 stars 21 forks source link

Refactor env flow #407

Open dcts opened 4 months ago

dcts commented 4 months ago

I suggest to store all relevant component and account addresses in a dictionary inside the repository and only let the user set NEXT_PUBLIC_NETWORK (mainnet or stokenet).

Then switching environments becomes very easy and we have a central lookup point.

Since I might not have the full picture here: Is there any reason against doing this @fliebenberg ?

nguvictor commented 4 months ago

There shouldn't be any reason that we can't do that as far as I know.