kangarang / tcr-ui

A client-side shell to interact with token-curated registries
MIT License
68 stars 28 forks source link

How to select between different registries? #96

Closed hailq closed 6 years ago

hailq commented 6 years ago

I see in your code there is a method named CHOOSE_TCR, but don't see anywhere call it. Could you show me how to select between different registries ?

kangarang commented 6 years ago

this method/action was implemented when i was experimenting with a tcr of tcr's. i believe it still works if the action's payload includes an address key

see: https://github.com/kangarang/tcr-ui/blob/master/src/redux/modules/ethProvider/sagas/contracts.js#L55

closing for now, but feel free to reopen if you have issues

hailq commented 6 years ago

Sorry but what is the correct way to call this method ?

kangarang commented 6 years ago

using a redux action that contains the type CHOOSE_TCR

hailq commented 6 years ago

It reload the registry but it doesn't reload the current application lists, how could it reload all of them ?

kangarang commented 6 years ago

this feature was only experimental for some time, but not in active development right now. not sure how it'll play with the rest of the code. ¯_(ツ)_/¯