Preparing search index...
The search index is not available
Shogun SDK Documentation v1.1.4 - v1.2.9
Shogun SDK Documentation v1.1.4
NostrProvider
Interface NostrProvider
Nostr extension interface
interface
NostrProvider
{
getPublicKey
:
()
=>
Promise
<
string
>
;
nip04
:
{
decrypt
:
(
pubkey
:
string
,
ciphertext
:
string
)
=>
Promise
<
string
>
;
encrypt
:
(
pubkey
:
string
,
plaintext
:
string
)
=>
Promise
<
string
>
;
}
;
signEvent
:
(
event
:
any
)
=>
Promise
<
any
>
;
}
Index
Properties
get
Public
Key
nip04
sign
Event
Properties
get
Public
Key
getPublicKey
:
()
=>
Promise
<
string
>
nip04
nip04
:
{
decrypt
:
(
pubkey
:
string
,
ciphertext
:
string
)
=>
Promise
<
string
>
;
encrypt
:
(
pubkey
:
string
,
plaintext
:
string
)
=>
Promise
<
string
>
;
}
sign
Event
signEvent
:
(
event
:
any
)
=>
Promise
<
any
>
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
get
Public
Key
nip04
sign
Event
Shogun SDK Documentation v1.1.4 - v1.2.9
Loading...
Nostr extension interface