From d54c4267091987f035819ff4714910e388f5d701 Mon Sep 17 00:00:00 2001 From: greenart7c3 <115044884+greenart7c3@users.noreply.github.com> Date: Mon, 13 Oct 2025 15:21:07 -0300 Subject: [PATCH] [NIP 55] - Instructions on how to use the get_public_key method with content resolver (#2086) --- 55.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/55.md b/55.md index c828768a..19d5ea98 100644 --- a/55.md +++ b/55.md @@ -295,6 +295,8 @@ For the other types Signer Application returns the column "result" If the user chose to always reject the event, signer application will return the column "rejected" and you should not open signer application +Clients SHOULD save the user pubkey locally and avoid calling the `get_public_key` after the user is logged in to the Client + #### Methods - **get_public_key** @@ -303,7 +305,7 @@ If the user chose to always reject the event, signer application will return the ```kotlin val result = context.contentResolver.query( Uri.parse("content://com.example.signer.GET_PUBLIC_KEY"), - listOf("login"), + listOf(hex_pub_key), null, null, null