January 2020
Intermediate to advanced
530 pages
11h 11m
English
The pRead() method fetches the last MTH and FTH from the blockchain and compares them with the current MTH (ModTH) and FTH (FileTH):
async function pRead (dateTime,ModTH,FileTH) { try { const wallet = new FileSystemWallet('/home/ishan/docsapp/wallet'); const userExists = await wallet.exists('user1'); if (!userExists) { console.log('An identity for the user "user1" ...Read now
Unlock full access