CesiumWallet.fromSeed constructor
CesiumWallet.fromSeed(
- Uint8List seed
Generate rootkey from seed
Implementation
factory CesiumWallet.fromSeed(Uint8List seed) {
SigningKey rootKey = SigningKey(seed: seed);
String pubkey = Base58Encode(rootKey.publicKey);
return CesiumWallet._(seed: seed, rootKey: rootKey, pubkey: pubkey);
}