Skip to content

Commit

Permalink
nip05: add nip46 field.
Browse files Browse the repository at this point in the history
  • Loading branch information
fiatjaf committed Jan 6, 2024
1 parent 8da32e6 commit ce42461
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions nip05/nip05.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,10 @@ import (
"github.com/nbd-wtf/go-nostr"
)

type (
name2KeyMap map[string]string
key2RelaysMap map[string][]string
)

type WellKnownResponse struct {
Names name2KeyMap `json:"names"` // NIP-05
Relays key2RelaysMap `json:"relays"` // NIP-35
Names map[string]string `json:"names"`
Relays map[string][]string `json:"relays"`
NIP46 map[string][]string `json:"nip46"`
}

func QueryIdentifier(ctx context.Context, fullname string) (*nostr.ProfilePointer, error) {
Expand Down

0 comments on commit ce42461

Please sign in to comment.