Detecting the Provider

The Goby browser extension will inject an object called chia on the window object of any web application the user visits. The chia object is also available on window. chia to prevent namespace collisions.

To detect if a browser extension using this API is installed, you can check for the existence of the chia object.

To make it easy to detect Goby specifically, you can check.

const { chia } = window;
return Boolean(chia && chia.isGoby);

If Goby is not installed, we recommend redirecting to our website