ethers.objc icon indicating copy to clipboard operation
ethers.objc copied to clipboard

keystore should be added to the account

Open KimBin opened this issue 8 years ago • 2 comments

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

KimBin avatar Sep 12 '17 08:09 KimBin

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

jerychen1103 avatar Jan 31 '18 07:01 jerychen1103

A keystone can be generated using:

void (^callback)(NSString*) = ^(NSString *json) {
    NSLog(@"JSON: %@", json);
};
Cancellable *task = [account encryptSecretStorageJSON:password callback:callback];

ricmoo avatar Jan 31 '18 07:01 ricmoo