a User interface that is like a Signer but can't sign.

This commit is contained in:
fiatjaf
2025-03-10 02:25:57 -03:00
parent fa17e4003f
commit 94e8b6790a
6 changed files with 37 additions and 5 deletions

View File

@@ -8,6 +8,8 @@ import (
"github.com/puzpuzpuz/xsync/v3"
)
var _ nostr.Keyer = (*KeySigner)(nil)
// KeySigner is a signer that holds the private key in memory
type KeySigner struct {
sk string