You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 4, 2022. It is now read-only.
I have been experimenting with the library outside of a Flutter app in a pure Dart command line application, everything seemed to work and then when I tried to move the code into a Flutter app it's bringing this weird type error when trying to generate a KeyPair by invoking Credentials.generateNew().
type 'AsymmetricKeyPair<PublicKey, PrivateKey>' is not a subtype of type 'AsymmetricKeyPair<ECPublicKey, ECPrivateKey>
package:web3dart/src/utils/keys.dart 45:63 generateNewPrivateKey
package:web3dart/src/utils/credentials.dart 44:27 Credentials.generateNew
My assumption is it might be crashing with some internals types with the same naming.
The text was updated successfully, but these errors were encountered:
I have been experimenting with the library outside of a Flutter app in a pure Dart command line application, everything seemed to work and then when I tried to move the code into a Flutter app it's bringing this weird type error when trying to generate a KeyPair by invoking
Credentials.generateNew()
.My assumption is it might be crashing with some internals types with the same naming.
The text was updated successfully, but these errors were encountered: