What most people mean when they say "running a full-blown webserver" is actually 3-5 lines of code btw.
1 line in Golang.
What most people mean when they say "running a full-blown webserver" is actually 3-5 lines of code btw.
1 line in Golang.
I avoided this for many years because it sounded so intimidating. Now I have learned the basics I wish I had done it sooner.
How many lines of code is irrelevant.
The issue is that you need to be responsible for something that stays online. Something that needs an IP address, aka something that can be sanctioned & shut down.
It is extremely relevant because ease of implementation is one of the most important factors of what drives Bitcoin adoption.
Any reference to rgb stack is merely coincidental
What's the joke? :)
I’m guessing they’re referring to Taro ?
https://www.reddit.com/r/RGB_protocol/comments/u1tt29/what_similarities_does_rgb_and_taro_have/
Nope, until 6 months ago rgb was completely unusable, documentation all over the place, 10000 containers, cryptic code base, in fact, in my opinion rgb didn’t really take off because it had a bad developer experience (like really bad)
I have much better expectations for taro!
PS: in the last 6 months there has been a push by bitfinex to revamp and cleanup rgb, let’s see how they do!
Looked into RGB ha hear ago or so and I had the same experience.
Was this the reference to your earlier post ? #[5]
I was implying rgb had a very bad developer experience, which, in my opinion, was the limiting factor for adoption
That’s along the lines of: keep implementation clean and simple, number of lines of code *is* relevant (from the opener)
A person for whom code complexity is a factor for adopting Bitcoin would have been stopped way higher up the philosophical chain already by other things. They are “low desire”.
Lightning nodes also need an IP address.
… and hardware, electricity, DNS…
Your post is generating a lot of interest.
Added to the https://member.cash/hot feed
That 1 line in golang is likely importing in tens of thousands of lines of code.
The results are in, it takes ~170 lines of #rustlang code and half a day of work if you implement a LNURL server for Core Lightning. Deployment was a ~25 line diff to my nix-bitcoin config.
I think #[1] nerd-sniped me 😅
Added benefit: now I can zap around on nostr like all the cool kids 😁
https://github.com/elsirion/clnurl
#[0]
I give you a one million sats bounty if you convert https://github.com/jb55/cln-nostr-zapper into a rust plugin
Pyhon is also one line
python3 -m http.server
Older python 2 (stop using this!)
python2 -m SimpleHTTPServer
#[0]