Extends

ExtensionActions


Constructor

constructor(extension)

Parameter

extension - CyanoExtension


Property

extension

Type: CyanoExtension
Description: Cyano wrapper instance passed by constructor.


Methods

installed

async installed()

Description

Check if Cyano web extension was installed.

Returns :

Promise<Result<Bool, Status>>:

Boolean value true will be set into the data field of Result if Cyano installed.

isMainnet

async isMainnet()

Description

Check if Cyano is connected to the mainnet.

Returns :

Promise<Result<Bool, Status>>:

If Status is SUCCESS , the data field of Result will be true if Cyano connected to Ethereum mainnet.

isLogin

async isLogin()

Description

Check if Cyano is logged in.

Returns :

Promise<Result<Bool, Status>>:

If Status is SUCCESS , the data field of Result will be true if Cyano was login.