SubstratePublicKey.fromBytes constructor

SubstratePublicKey.fromBytes(
  1. List<int> keyBytes,
  2. SubstrateCoinConf coinConf
)

Creates a SubstratePublicKey from the provided keyBytes and coinConf.

Implementation

factory SubstratePublicKey.fromBytes(
    List<int> keyBytes, SubstrateCoinConf coinConf) {
  return SubstratePublicKey(
    _keyFromBytes(keyBytes),
    coinConf,
  );
}