Extends¶
Constructor¶
constructor()
Property¶
checker¶
Type: ScatterChecker
Description: Provide some basic check function such as isLogin, isMainnet etc.
connector¶
Type: ScatterConnector
Description: Provide connection capability to the web extension.
contractCaller¶
Type: ScatterContractCaller
Description: Provide smart contract invoke and read capability.
actions¶
Type: ScatterActions
Description: Provide sets of functions to access EOS, such as transfer, getAccount.
webjsInstance¶
Type: ScatterJS.scatter
Description: scatter instance from scatter-core.
Methods¶
load¶
async load()
Description
Load ScatterJS.scatter instance to webjsInstance property.
Returns :
Promise<Result<Web3, Status>>
:ScatterJS.scatter will be set into the data field of Result if success.