SubstrateSr25519Signer.fromKeyBytes constructor

SubstrateSr25519Signer.fromKeyBytes(
  1. List<int> keyBytes
)

Factory method to create an SubstrateED25519Signer instance from key bytes.

Implementation

factory SubstrateSr25519Signer.fromKeyBytes(List<int> keyBytes) {
  return SubstrateSr25519Signer._(SchnorrkelSecretKey.fromBytes(keyBytes));
}