Skip to content

Commit

Permalink
Merge pull request #2451 from dev-protocol/admin-sig
Browse files Browse the repository at this point in the history
Admin sig
  • Loading branch information
stuartwk authored May 22, 2024
2 parents 85ce7e3 + 1e72ecf commit d148d09
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "clubs",
"version": "0.16.0-beta.24",
"version": "0.16.0-beta.25",
"private": true,
"type": "module",
"scripts": {
Expand Down
7 changes: 7 additions & 0 deletions src/plugins/admin/AdminOverview.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
})
})
Expand Down

0 comments on commit d148d09

Please sign in to comment.