fromSeed static method

Secp256k1Keypair fromSeed(
  1. Uint8List seed
)

Generate a keypair from a 32 byte seed.

Implementation

static Secp256k1Keypair fromSeed(Uint8List seed) {
  final publicKey = secp256k1.getPublicKeyFromPrivateKeyBytes(seed, true);
  return Secp256k1Keypair(Secp256KeypairData(publicKey, seed));
}