Add nip05 search

Changelog-Added: Added ability to lookup users by nip05 identifiers
This commit is contained in:
William Casarin
2023-03-29 19:24:06 -04:00
parent 9fef2f071a
commit 0a4e75bfec
7 changed files with 143 additions and 2 deletions

View File

@@ -12,6 +12,7 @@ import UIKit
class Profiles {
var profiles: [String: TimestampedProfile] = [:]
var validated: [String: NIP05] = [:]
var nip05_pubkey: [String: String] = [:]
var zappers: [String: String] = [:]
func is_validated(_ pk: String) -> NIP05? {