fromPublicKey static method

ElectrumV1 fromPublicKey(
  1. List<int> pubKey
)

Create an Electrum V1 instance from a public key represented as List<int>.

Implementation

static ElectrumV1 fromPublicKey(List<int> pubKey) {
  final publicKey = Secp256k1PublicKeyEcdsa.fromBytes(pubKey);
  return ElectrumV1._(null, publicKey);
}