WalletConnectFlutterV2 icon indicating copy to clipboard operation
WalletConnectFlutterV2 copied to clipboard

Need chains array in Namespace class

Open muhammad-hassan-shakeel opened this issue 1 year ago • 6 comments

@freezed
class Namespace with _$Namespace {
  @JsonSerializable()
  const factory Namespace({
    required List<String> accounts,
    required List<String> methods,
    required List<String> events,
  }) = _Namespace;

  factory Namespace.fromJson(Map<String, dynamic> json) =>
      _$NamespaceFromJson(json);
}

This is the Namespace class, we are developing some application where I need to connect with the Unity app of ours via WalletConnect. Unity team is looking for chains list in Namespace but unfortunately it doesn't have it. Can you please tell me what can I do on flutter end to send that to them at the time of Session approval?

muhammad-hassan-shakeel avatar Feb 20 '24 10:02 muhammad-hassan-shakeel