Core constructor

Core({
  1. String relayUrl = 'wss://relay.walletconnect.com',
  2. required String projectId,
  3. bool memoryStore = false,
})

Implementation

Core({
  this.relayUrl = 'wss://relay.walletconnect.com',
  required this.projectId,
  bool memoryStore = false,
}) {
  storage = GetStorageStore(
    <String, dynamic>{},
    memoryStore: memoryStore,
  );
  crypto = Crypto(this);
  relayClient = RelayClient(this);
  expirer = Expirer(this);
  history = JsonRpcHistory(this);
  pairing = Pairing(this);
}