credentialsFromPrivateKey method
- @Deprecated('Use EthPrivateKey.fromHex instead')
- String privateKey
Constructs a new Credentials with the provided privateKey
by using
an EthPrivateKey.
Implementation
@Deprecated('Use EthPrivateKey.fromHex instead')
Future<EthPrivateKey> credentialsFromPrivateKey(String privateKey) {
return Future.value(EthPrivateKey.fromHex(privateKey));
}