getEncoded method
Implementation
@override
Future<String> getEncoded() async {
const ed25519Key = Ed25519HdKey();
final masterKey = await ed25519Key.getMasterKeyFromSeed(seed);
final key = Uint8List.fromList(masterKey.key);
final pubKey = await ed25519Key.getPublicKey(key);
return base64.encode(pubKey);
}