mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-06-28 20:39:51 +00:00
ens working
This commit is contained in:
parent
d8d2335a5f
commit
a52c7b053e
33 changed files with 133 additions and 63 deletions
|
@ -508,4 +508,8 @@ abstract class EthereumWalletBase
|
|||
@override
|
||||
String signMessage(String message, {String? address = null}) =>
|
||||
bytesToHex(_ethPrivateKey.signPersonalMessageToUint8List(ascii.encode(message)));
|
||||
|
||||
Future<String> fetchEnsAddress(String name) async {
|
||||
return await _client.checkEnsName(name);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue