upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/55.md
diff options
context:
space:
mode:
authorgreenart7c3 <115044884+greenart7c3@users.noreply.github.com>2025-10-13 15:21:07 -0300
committerGitHub <noreply@github.com>2025-10-13 11:21:07 -0700
commitd54c4267091987f035819ff4714910e388f5d701 (patch)
treec9907ae297d7659c544c73cfcf37347281114ec4 /55.md
parent179e42101150616c07884a321a70c6d889285202 (diff)
[NIP 55] - Instructions on how to use the get_public_key method with content resolver (#2086)
Diffstat (limited to '55.md')
-rw-r--r--55.md4
1 files changed, 3 insertions, 1 deletions
diff --git a/55.md b/55.md
index c828768..19d5ea9 100644
--- a/55.md
+++ b/55.md
@@ -295,6 +295,8 @@ For the other types Signer Application returns the column "result"
295 295
296If the user chose to always reject the event, signer application will return the column "rejected" and you should not open signer application 296If the user chose to always reject the event, signer application will return the column "rejected" and you should not open signer application
297 297
298Clients SHOULD save the user pubkey locally and avoid calling the `get_public_key` after the user is logged in to the Client
299
298#### Methods 300#### Methods
299 301
300- **get_public_key** 302- **get_public_key**
@@ -303,7 +305,7 @@ If the user chose to always reject the event, signer application will return the
303 ```kotlin 305 ```kotlin
304 val result = context.contentResolver.query( 306 val result = context.contentResolver.query(
305 Uri.parse("content://com.example.signer.GET_PUBLIC_KEY"), 307 Uri.parse("content://com.example.signer.GET_PUBLIC_KEY"),
306 listOf("login"), 308 listOf(hex_pub_key),
307 null, 309 null,
308 null, 310 null,
309 null 311 null