fishcake on Nostr: async function createNip17Wraps(message, senderPubkey, receiverPubkey) Where do I ...
async function createNip17Wraps(message, senderPubkey, receiverPubkey)
Where do I stick my SK into? And what do I do with the returned values that are in non-event format?
Published at
2024-10-16 23:28:03Event JSON
{
"id": "dff5d1f34cad98c13b5996cfdb3b276f6847ae57271f7f25263158cdc4242154",
"pubkey": "8fb140b4e8ddef97ce4b821d247278a1a4353362623f64021484b372f948000c",
"created_at": 1729121283,
"kind": 1,
"tags": [
[
"e",
"548879fbdf38a28775aa31b77288cf00ef467b4413471e71a58d9a7e5a4472e3",
"",
"root"
],
[
"e",
"897f976cc1e697e83daf4aa9228ca2401176e5c8a71162e9aedc02b0d7484a15",
"",
"reply"
],
[
"p",
"e2ccf7cf20403f3f2a4a55b328f0de3be38558a7d5f33632fdaaefc726c1c8eb"
],
[
"p",
"460c25e682fda7832b52d1f22d3d22b3176d972f60dcdc3212ed8c92ef85065c"
]
],
"content": "async function createNip17Wraps(message, senderPubkey, receiverPubkey)\n\nWhere do I stick my SK into? And what do I do with the returned values that are in non-event format?",
"sig": "03abd37ff0ffc3ec2612b18d6c695b1fe445513655945a3d9a532361b297cda31d5034ff9540c48f2e02b6cc6c14722664311406a8128539ed71b8c1d3528be3"
}