|
|
@ -76,7 +76,9 @@
|
|
|
|
nonce = data['nonce'];
|
|
|
|
nonce = data['nonce'];
|
|
|
|
})
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
|
|
const msg = 'Authentication request from tubbymemes app! Verifying message with nonce ' + nonce
|
|
|
|
const msg = `Authentication request from tubbymemes app!
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Verifying message with nonce ${nonce}`
|
|
|
|
const signedData = await window.ethereum.request({
|
|
|
|
const signedData = await window.ethereum.request({
|
|
|
|
method: 'personal_sign',
|
|
|
|
method: 'personal_sign',
|
|
|
|
params: [msg, allAccounts[0]]
|
|
|
|
params: [msg, allAccounts[0]]
|
|
|
|