Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
document.getElementById('W03').addEventListener('click', () => {
const walletLoadedByKeystoreFile = IconWallet.loadKeystore(MockData.KEYSTORE_FILE, MockData.PASSWORD);
document.getElementById('W03-1').innerHTML = `Address: ${walletLoadedByKeystoreFile.getAddress()}`;
document.getElementById('W03-2').innerHTML = `Successfully loaded.`;
});