view: basic req functionality.

This commit is contained in:
fiatjaf
2025-11-27 07:06:37 -03:00
parent eb6fdfdd39
commit 789c6a3884
3 changed files with 357 additions and 2 deletions

View File

@@ -1,6 +1,7 @@
package main
import (
"context"
"encoding/hex"
"os"
"strings"
@@ -10,6 +11,7 @@ import (
"fiatjaf.com/nostr"
"fiatjaf.com/nostr/nip19"
"fiatjaf.com/nostr/nip49"
"fiatjaf.com/nostr/sdk"
"github.com/therecipe/qt/widgets"
)
@@ -18,6 +20,8 @@ var (
currentKeyer nostr.Keyer
statusLabel *widgets.QLabel
debounced = debouncer.New(800 * time.Millisecond)
sys = sdk.NewSystem()
ctx = context.Background()
)
func main() {