public Task CreatePrivateKey(string address, string privateKey) { return(_storage.InsertAsync(KeyEntity.Create(address, privateKey))); }
public async Task <string> GetPrivateKey(string address) { var entity = await _storage.GetDataAsync(KeyEntity.GeneratePartitionKey(), address); return(entity?.PrivateKey); }