setRequiredNamespaces method

  1. @override
void setRequiredNamespaces(
  1. Map<String, RequiredNamespace> namespaces
)
override

Sets the required namespaces that will be used when connecting to the wallet The default is set to the NamespaceConstants.ethereum namespace.

Implementation

@override
void setRequiredNamespaces(Map<String, RequiredNamespace> namespaces) {
  _checkInitialized();
  LoggerUtil.logger.i('Setting Required namespaces: $namespaces');

  _requiredNamespaces = namespaces;

  notifyListeners();
}