SolanaPrivateKey.fromSeedHex constructor
SolanaPrivateKey.fromSeedHex(
- String seedHex
Factory method to create a SolanaPrivateKey instance from a seed represented as a hexadecimal string.
Implementation
factory SolanaPrivateKey.fromSeedHex(String seedHex) {
final privateKey =
Ed25519PrivateKey.fromBytes(BytesUtils.fromHexString(seedHex));
return SolanaPrivateKey._(privateKey);
}