privateKeyFromUri function
Converts a URI to a private key.
Takes a URI as input and returns the corresponding private key as a list of integers. The URI is used to generate a seed using the ed25519 algorithm, and then the seed is returned as the private key.
Implementation
Future<List<int>> privateKeyFromUri(String uri) async {
final seed = await SubstrateBip39.ed25519.seedFromUri(uri);
return seed;
}