newKeyPairFromSeed method
Implementation
@override
Future<SimpleKeyPair> newKeyPairFromSeed(List<int> seed) {
if (seed.length != 32) {
throw ArgumentError('Seed must have 32 bytes');
}
return Future<SimpleKeyPairData>.value(SimpleKeyPairData(
List<int>.unmodifiable(seed),
type: KeyPairType.ed25519,
publicKey: _publicKey(seed),
));
}