Constructors
Methods
getConfig
- getConfig(configs?): {
appName: string;
appIcon: string;
preferredNetworks: NetworkPreference[];
} Parameters
Optional
configs: {
preferredNetworks?: NetworkPreference[];
name?: string;
icon?: string;
}Optional
name?: string
Optional
icon?: string
Returns {
appName: string;
appIcon: string;
preferredNetworks: NetworkPreference[];
}
appName: string
appIcon: string
disconnect
- disconnect(): void
Returns void
refresh
- refresh(client, onUpdate, configs?): Promise<void>
Parameters
- client: Client
- onUpdate: ((wallets: WalletWithSigners[]) => void)
- (wallets): void
Returns void
Optional
configs: {
preferredNetworks?: NetworkPreference[];
name?: string;
icon?: string;
}Optional
name?: string
Optional
icon?: string
Returns Promise<void>
addRealSigners
- addRealSigners(context): Promise<void>
Returns Promise<void>
addDummySigners
- addDummySigners(context): Promise<void>
Returns Promise<void>
addLinkSigners
- addLinkSigners(walletName, icon, signerTypes, link, context): Promise<void[]>
Returns Promise<void[]>
addSigners
- addSigners(walletName, icon, signers, context): Promise<void[]>
Returns Promise<void[]>
Protected
addSigner
- addSigner(walletName, icon, signerInfo, __namedParameters): Promise<void>
Returns Promise<void>