Re: Implement NIP-01 in C Language

st 23. 4. 2025 v 7:52 odesílatel Radhitya <radhitya@100indie.org> napsal:

> On 4/22/25 8:29 PM, Melvin Carvalho wrote:
>
> > What do you mean by burdensome?
> Pardon me. It should not 'burdensome', but 'chaotic'.
> > 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.
> I'm still confused about NIP-01.. I've been trying to figure out and the
> code is a my attempt..
> What do you think about my code in there?
>
> I know the code is not completed.. I missed array inside array..
>
> I'm struggling to understand the concept.
>
> Would you help me?
>

I quickly had a go at prototyping a C relay, which might give you some
ideas.

https://github.com/melvincarvalho/crelay

Received on Thursday, 24 April 2025 08:58:32 UTC