SubstratePrvKey.fromBytes constructor
SubstratePrvKey.fromBytes(
- List<
int> keyBytes, - SubstrateCoinConf coinConf
Creates a Sr25519PrivateKey from the provided keyBytes
and coinConf
.
Implementation
factory SubstratePrvKey.fromBytes(
List<int> keyBytes, SubstrateCoinConf coinConf) {
return SubstratePrvKey._(_keyFromBytes(keyBytes, coinConf.type), coinConf);
}