Added support for nsec/npub in command line invocation as pubkey and pivate keys. expanded nostr: type mentions for user and notes

This commit is contained in:
Vishal
2024-04-06 21:23:17 +05:30
parent b9ac5538b3
commit bda7464595
7 changed files with 169 additions and 51 deletions

View File

@@ -154,7 +154,7 @@ extension StringX on String {
}
}
bool isValidPubkey(String pubkey) {
bool isValidHexPubkey(String pubkey) {
if( pubkey.length == 64) {
return true;
}