From 9e21d5825489f51f538eb8f8003c90fefc1c89b3 Mon Sep 17 00:00:00 2001 From: Stuart Kuentzel Date: Wed, 22 May 2024 17:28:05 +0900 Subject: [PATCH 1/2] temporarily requests a signature when hitting the admin overview page --- src/plugins/admin/AdminOverview.svelte | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/plugins/admin/AdminOverview.svelte b/src/plugins/admin/AdminOverview.svelte index b2511a063..1b8973457 100644 --- a/src/plugins/admin/AdminOverview.svelte +++ b/src/plugins/admin/AdminOverview.svelte @@ -130,6 +130,13 @@ connectionSub = connection().signer.subscribe(async (signer) => { fetchUserSupply(signer) + + if (signer) { + const hash = `Metawater Admin Signature: ${new Date().toISOString()}` + console.log('hash is: ', hash) + const sig = await signer.signMessage(hash) + console.log('signature is: ', sig) + } }) }) From 1e72ecfab15e08c724f6bc79ce65c8c2261f1c42 Mon Sep 17 00:00:00 2001 From: Stuart Kuentzel Date: Wed, 22 May 2024 17:28:59 +0900 Subject: [PATCH 2/2] bumps version --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 2c3b3f24a..c01f36ba0 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "clubs", - "version": "0.16.0-beta.24", + "version": "0.16.0-beta.25", "private": true, "type": "module", "scripts": {