ToplSigningKey.fromString constructor

ToplSigningKey.fromString(
  1. String base58,
  2. NetworkId network,
  3. PropositionType propositionType
)

Implementation

ToplSigningKey.fromString(String base58, this.network, this.propositionType)
    : privateKey = Bip32SigningKey.fromValidBytes(
          Base58Encoder.instance.decode(base58));