Bootstrap
gripApp
gripApp
Arguments
{Config}: Configuration object or the REST URL of the node you want to connect to.
{AccountProviderGetter}: An account provider getter.
{Function}: A
runApp
function.
Returns
Nothing.
Description
Grips an application by providing the configuration
bootstrap
bootstrap
Arguments
None.
Returns
Nothing.
Description
Bootstraps a gripped application by enabling the AccountProvider
and waiting for an address to be available. At this point, the application is now bootstrapped meaning that the AccountProvider
will self-bootstrap after page reloads.
shutdown
shutdown
Arguments
None.
Returns
Nothing.
Description
Return the application to a gripped state, therefore, the AccountProvider
won't self-bootstrap after page reloads.
Last updated