fromSeed static method
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));
}