feat: Add verifyMessageWithName to account
All checks were successful
Build Docker / Build Image (push) Successful in 44s

This commit is contained in:
Nathan Woodburn 2025-01-29 17:07:44 +11:00
parent ca32bf7780
commit 83d676c372
Signed by: nathanwoodburn
GPG Key ID: 203B000478AD0EF1
2 changed files with 11 additions and 1 deletions

View File

@ -70,7 +70,7 @@ For Docker you can mount a volume to persist the user data (/app/user_data)
- Rescan
- Zap pending transactions
- View xPub
- Custom plugin support
- Custom plugin support (find some [here](https://git.woodburn.au/nathanwoodburn?tab=repositories&q=plugin&sort=recentupdate))
## Themes
Set a theme in the .env file

View File

@ -836,6 +836,16 @@ def signMessage(account,domain,message):
}
}
def verifyMessageWithName(domain,signature,message):
try:
response = hsd.rpc_verifyMessageWithName(domain,signature,message)
if 'result' in response:
return response['result']
return False
except Exception as e:
return False
#endregion
def generateReport(account,format="{name},{expiry},{value},{maxBid}"):