more conversions.

This commit is contained in:
fiatjaf
2025-04-15 00:00:03 -03:00
parent f9e4a5efa3
commit 376834cbf9
117 changed files with 450 additions and 1019 deletions

View File

@@ -5,7 +5,7 @@ import (
"slices"
"github.com/elnosh/gonuts/cashu"
"fiatjaf.com/nostrlib"
"fiatjaf.com/nostr"
)
type Info struct {

View File

@@ -9,8 +9,8 @@ import (
"slices"
"strings"
"fiatjaf.com/nostrlib"
"fiatjaf.com/nostrlib/nip60"
"fiatjaf.com/nostr"
"fiatjaf.com/nostr/nip60"
)
var NutzapsNotAccepted = errors.New("user doesn't accept nutzaps")

View File

@@ -4,11 +4,11 @@ import (
"encoding/hex"
"encoding/json"
"fiatjaf.com/nostr"
"github.com/btcsuite/btcd/btcec/v2"
"github.com/decred/dcrd/dcrec/secp256k1/v4"
"github.com/elnosh/gonuts/cashu"
"github.com/elnosh/gonuts/crypto"
"github.com/nbd-wtf/go-nostr"
)
func VerifyNutzap(