GobyProvider#
GobyProvider connects to the browser's Goby Wallet extension. It only exposes methods related to transferring Chia and other assets.
Here's how to initialize the provider:
const provider = new greenweb.xch.providers.GobyProvider();
Arguments:
tryNonInteractiveConnect: If set totrue,GobyProviderwill check if the user previously connected to a website and requests their account. Default value:true_chiaOverwrite: If you want the provider to interact with Goby through something other thanwindow.chia, pass an object that implements the functions ofwindow.chiahere. Currently only used for testing purposes