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 ?
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
orstokenet
).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 ?