Skip to content

Commit

Permalink
updated web3dart
Browse files Browse the repository at this point in the history
  • Loading branch information
allanclempe committed Apr 26, 2022
1 parent dc1b2d5 commit 59cda27
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions lib/service/contract_service.dart
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ class ContractService implements IContractService {
ContractEvent _transferEvent() => contract.event('Transfer');
ContractFunction _balanceFunction() => contract.function('balanceOf');
ContractFunction _sendFunction() => contract.function('transfer');

@override
EthPrivateKey getCredentials(String privateKey) =>
EthPrivateKey.fromHex(privateKey);
Expand Down
2 changes: 1 addition & 1 deletion pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -797,7 +797,7 @@ packages:
name: web3dart
url: "https://pub.dartlang.org"
source: hosted
version: "2.3.3"
version: "2.3.5"
web_socket_channel:
dependency: "direct main"
description:
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ dependencies:
# The following adds the Cupertino Icons font to your application.
# Use with the CupertinoIcons class for iOS style icons.
cupertino_icons: ^1.0.4
web3dart: ^2.3.3
web3dart: ^2.3.5
provider: ^6.0.2
qr_flutter: ^4.0.0
# used to generate pneumonic phrase
Expand Down

0 comments on commit 59cda27

Please sign in to comment.