class KeyStoreImpl implements KeyStore {

    @NonNull
    @Override
    public List<KeyPair> loadAccounts() throws LoadAccountException {
        ArrayList<KeyPair> accounts = new ArrayList<>();
        try {
            JSONArray jsonArray = loadJsonArray();
            if (jsonArray != null) {
                for (int i = 0; i < jsonArray.length(); i++) {
                    JSONObject accountJson = jsonArray.getJSONObject(i);
                    String seed = accountJson.getString(JSON_KEY_ENCRYPTED_SEED);
                    accounts.add(KeyPair.fromSecretSeed(seed));
                }
            }
        } catch (JSONException e) {
            throw new LoadAccountException(e.getMessage(), e);
        }
        return accounts;
    }

      KeyStoreImpl(@NonNull Store store, @NonNull BackupRestore backupRestore);

}