ethers.objc
ethers.objc copied to clipboard
keystore should be added to the account
keystore should be added to the account. Because many places, are using keystore to backup and restore the wallet, I am solving this problem, after the completion of the amendment, I pull code
May I ask if the problem you described above has been solved? I also have this problem at the moment. Can you tell me how to generate keystore,thanks! @KimBin
A keystone can be generated using:
void (^callback)(NSString*) = ^(NSString *json) {
NSLog(@"JSON: %@", json);
};
Cancellable *task = [account encryptSecretStorageJSON:password callback:callback];