Re: Implement NIP-01 in C Language

Ășt 22. 4. 2025 v 10:18 odesĂ­latel Radhitya <radhitya@100indie.org> napsal:

> Hi, this is my first time sending a message here.
>

Welcome!


>
> I'm currently interested in writing a relay in C language.
>

Great idea


>
> Why C? It's the only language i use on a daily basis,
> even though i'm not a professional
>
> For this project, I will use the following libraries in C: /
> libwebsockets, cJSON, OpenSSL, /and /secp256k1/.
>
> You can see my progress here: https://git.sr.ht/~radhitya/costr/
>
> However, I'm confused about how to efficiently complete NIP 01,
> so that it won't be burdensome in the future
>

What do you mean by burdensome?

Normally when someone writes a relay they take NIP-01 and try and get that
working with the different kinds and indexes.

Then they look at what other NIPs they want to do.

Personally, a minimal relay in C without other NIPs sounds like a great
idea on its own.  You might want to run the code through a large language
model for review, if you havent already.


>
> Could someone please help me?
> I'm available on IRC and Email.
>
> Thanks
>
>
>
>
>

Received on Tuesday, 22 April 2025 13:30:06 UTC