var baseUrl = 'https://www.extincion.org:30443/identidad/app/';
var apiBaseUrl = 'https://www.extincion.org:30443/identidad/app/';
var storageBaseUrl = 'https://www.extincion.org:30443/identidad/app/';
var filesStorageBaseUrl = 'https://www.extincion.org:30443/identidad/app/';
var didsStorageBaseUrl = 'https://www.extincion.org:30443/identidad/app/';
var getProviderUrl = apiBaseUrl + 'getProvider/get';
var providerStorageAddress = '0xf5AF235edB3df647edE0f4955588fef7a4e7eCFf';
var grantPermissionsUrl = apiBaseUrl + 'saver/grant';
var revokeTransactionUrl = apiBaseUrl + 'saver/revoke';
var getRemoteWalletUrl = storageBaseUrl + 'wallet_storage/get';
var saveRemoteWalletUrl = storageBaseUrl + 'wallet_storage/save';
var deleteRemoteWalletUrl = storageBaseUrl + 'wallet_storage/delete';
var getRemoteFileUrl = storageBaseUrl + 'files_storage/get';
var saveRemoteFileUrl = storageBaseUrl + 'files_storage/save';
var deleteRemoteFileUrl = storageBaseUrl + 'files_storage/delete';
var deleteAllRemoteFilesUrl = storageBaseUrl + 'files_storage/delete_all';
var saveDidUrl = didsStorageBaseUrl + 'dids_storage/save';
var getDidUrl = didsStorageBaseUrl + 'dids_storage/get';
var didsStorageDid = {"id": "did:agnia:9C0754e54b11f02E5eddE99527d4f8CdcC2C83CD","verificationMethod":[{"controller":"did:agnia:9C0754e54b11f02E5eddE99527d4f8CdcC2C83CD","id":"did:agnia:9C0754e54b11f02E5eddE99527d4f8CdcC2C83CD#key-1","type": "EcdsaSecp256k1VerificationKey2019","publicKeyJwk":{"crv":"secp256k1","kid":"key-1","kty":"EC","x":"QAwBEFZq6fkOoRqHcVFxgO5vC0R1pvcFjujG4aFmBsE=","y":"zDGEy4ehGa90ulC8/FQT54cpHgQvyfivIYeQWmg/n54="}}]};
var storageDid = 'did:agnia:27df9e96f91a33E18A5f6F61dEc291a148d78161';
var filesStorageDid = 'did:agnia:f66c683992da16c567D32c2F8A907994E140C210';

var grantPermissionAddress = '0xf5AF235edB3df647edE0f4955588fef7a4e7eCFf';
var storageAddress = '0x27df9e96f91a33E18A5f6F61dEc291a148d78161';
var filesStorageAddress = '0xf66c683992da16c567D32c2F8A907994E140C210';
//var verifierUrl = "https://www.ecliente.net/testWallet/viewClaim.php";
var remoteCacheTime = 300; // in seconds
var verifierUrl = "https://www.extincion.org:30443/testWallet/viewClaim.php";
//var extra_css = '/assets/css/uned.css';
//var skin_logo = '/assets/img/webcam-redonda.svg';
//var skin_icon_locked = 'icons/icon96_uned_locked.png';
//var skin_icon_unlocked = 'icons/icon96_uned_unlocked.png';

