S!ayer on Nostr: I managed, with some coercion and a few hours, to get ChatGPT to help me implement ...
I managed, with some coercion and a few hours, to get ChatGPT to help me implement the raw NIP01 in Unity.
The problem is when you suggest the Nostr protocol, GPT throws it's shit out the cot and adamantly refuses to help.
It took some time but I was able to finally get a JSON object out and receive an "OK" message back, with an error for indexing or some shit. After about two and a half hours of hacking at it, I turned to the repo Kieran sent me for Nostr.Client, a #C implementation (
https://www.nuget.org/packages/Nostr.Client).
This will indeed make things quantifiable easier, but the challenge still lies ahead in hacking Unity to run such things without breaking. It's a nuget package for one thing, so I have to use a utility to install the package into Unity (which is currently failing).
But! once I overcome this, I should theoretically be able to send events to and from Unity to a relay, using Nostr.Client #C implementation.
Published at
2024-07-16 15:43:12Event JSON
{
"id": "53972908c9dd52c973f9d23ec001cff3ec00fc1ebc9f3a078b6f9f6690f9e086",
"pubkey": "cdecc31c6d9406e9a7d6b0067412aa661d9d31c8035c3fd65c06301d1cac3b92",
"created_at": 1721137392,
"kind": 1,
"tags": [
[
"t",
"c"
]
],
"content": "I managed, with some coercion and a few hours, to get ChatGPT to help me implement the raw NIP01 in Unity.\n\nThe problem is when you suggest the Nostr protocol, GPT throws it's shit out the cot and adamantly refuses to help. \n\nIt took some time but I was able to finally get a JSON object out and receive an \"OK\" message back, with an error for indexing or some shit. After about two and a half hours of hacking at it, I turned to the repo Kieran sent me for Nostr.Client, a #C implementation (https://www.nuget.org/packages/Nostr.Client).\n\nThis will indeed make things quantifiable easier, but the challenge still lies ahead in hacking Unity to run such things without breaking. It's a nuget package for one thing, so I have to use a utility to install the package into Unity (which is currently failing).\n\nBut! once I overcome this, I should theoretically be able to send events to and from Unity to a relay, using Nostr.Client #C implementation. ",
"sig": "494565148425c05fcd03fdf5a0beb26191d2db378d0fe15a87d42584ced9dedb993fd77bd16008783c4c5d3c422361b2d784242d059c6b68ecce76f07aeae321"
}