mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-06-28 12:29:51 +00:00
ens review fixes
This commit is contained in:
parent
b5852509f3
commit
8b2b3bda16
8 changed files with 52 additions and 20 deletions
|
@ -226,6 +226,10 @@ I/flutter ( 4474): Gas Used: 53000
|
|||
}
|
||||
}
|
||||
|
||||
dynamic getWeb3Client() {
|
||||
return _client;
|
||||
}
|
||||
|
||||
// Future<int> _getDecimalPlacesForContract(DeployedContract contract) async {
|
||||
// final String abi = await rootBundle.loadString("assets/abi_json/erc20_abi.json");
|
||||
// final contractAbi = ContractAbi.fromJson(abi, "ERC20");
|
||||
|
|
|
@ -509,7 +509,5 @@ abstract class EthereumWalletBase
|
|||
String signMessage(String message, {String? address = null}) =>
|
||||
bytesToHex(_ethPrivateKey.signPersonalMessageToUint8List(ascii.encode(message)));
|
||||
|
||||
Future<String> fetchEnsAddress(String name) async {
|
||||
return await _client.checkEnsName(name);
|
||||
}
|
||||
dynamic getWeb3Client() => _client;
|
||||
}
|
||||
|
|
|
@ -21,10 +21,6 @@ dependencies:
|
|||
hex: ^0.2.0
|
||||
http: ^1.1.0
|
||||
shared_preferences: ^2.0.15
|
||||
ens_dart:
|
||||
git:
|
||||
url: https://github.com/cake-tech/ens_dart.git
|
||||
ref: main
|
||||
cw_core:
|
||||
path: ../cw_core
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue