AMAXPrivateKey.fromSeed constructor
AMAXPrivateKey.fromSeed(
- String seed
Generate AMAX private key from seed. Please note: This is not random! For the given seed, the generated key would always be the same
Implementation
factory AMAXPrivateKey.fromSeed(String seed) {
Digest s = sha256.convert(utf8.encode(seed));
return AMAXPrivateKey.fromBuffer(Uint8List.fromList(s.bytes));
}