Michael Bulanov
Michael Bulanov
SkyID uses siasky.net in DevMode by default; when not in DevMode, default skynet-js portal is used (which is again siasky.net). Should allow specifying custom portal in both cases.
Can't you just add Portal option to this.opts? Then you can pass it on to `new SkynetClient()`. Alternatively, you can use a global skynetPortal variable and access it via setDefaultPortal()...
So, we can split the problem into two parts: 1) Find out the portal where the page is open 2) Pass this portal as an option to the popup Can...
That should work. But what about the case when the url is entered as `https://siasky.net/hns/domain`?