xclud / web3dart

Ethereum library, written in Dart.
https://pub.dev/packages/web3dart
MIT License
180 stars 96 forks source link

Wallet.toJson is slow on web #20

Closed Cagatay342 closed 2 years ago

Cagatay342 commented 2 years ago

Hi Wallet wallet = Wallet.createNew(EthPrivateKey.fromHex("1122"), "123456", Random.secure()); debugPrint(DateTime.now().toString()); var json = wallet.toJson(); //20 seconds debugPrint(DateTime.now().toString());

this part take 20 second. is it normal or a bug ?

Cagatay342 commented 2 years ago

İts only slow on debugging , on release its fast enough 👍