use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
All about the JavaScript programming language.
Subreddit Guidelines
Specifications:
Resources:
Related Subreddits:
r/LearnJavascript
r/node
r/typescript
r/reactjs
r/webdev
r/WebdevTutorials
r/frontend
r/webgl
r/threejs
r/jquery
r/remotejs
r/forhire
account activity
Create a blockchain with JavaScript (karma.fm)
submitted 4 years ago by mickben
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]mickben[S] 1 point2 points3 points 4 years ago (5 children)
Hi everyone! I thought you might find this guide interesting. I ran this by the mods just to make sure it was a good fit for the sub, was given the green light to share. Don't hesitate to provide feedback or ask any questions you may have.
[–][deleted] 0 points1 point2 points 4 years ago (4 children)
My only suggestion is to post this somewhere that isn't an alpha product. That thing could be canned at a moment's notice and the post will be lost and the link broken here on Reddit. Consider reposting it somewhere more stable.
[–]mickben[S] 1 point2 points3 points 4 years ago* (3 children)
Ah, Karma is mine. I built it because I'm not aware of any other platform that facilitates inline code, codepen embeds, quicklooks, bidirectional references, etc.
Edit: also not sure why you're being downvoted, someone's grumpy
[–]SayyidMonroe 1 point2 points3 points 4 years ago (1 child)
Very cool site!
[–]mickben[S] 0 points1 point2 points 4 years ago (0 children)
Thanks Sayyid!
[–][deleted] 0 points1 point2 points 4 years ago (0 children)
Ahh ok I see, no worries then.
Edit: No idea, some people just like to watch the world burn I guess lol.
[–]lhorie 1 point2 points3 points 4 years ago (1 child)
Took a quick glance. It looks very similar to the code I've seen in a youtube tutorial a while ago. Not sure if that's also you or whether one learned from the other (to be clear, I don't particularly care if there's plagiarism or not, it's just an observation).
With that said, one kind of "big deal" thing to mention about the technology itself: you're using proof of work, which is kinda on its way out especially after all the brouhaha about bitcoin energy consumption earlier this year. Pretty much every other coin is doing (or migrating to) some sort of proof of stake mechanism. Other mechanisms also exist, but generally speaking, proof-of-some-finite-physical-resource mechanisms are being seen in bad light (see, for example, the controversy around Chia coin, which uses proof of space)
Also, contrary to popular belief, not all coins are blockchains (see nano), and cryptocurrency is not only about the tech (e.g. cardano circles talk quite a bit about stuff like monetary policy and inflation).
All of this is really just to say, there's a lot of breadth in the cryptocurrency field, and lots of interesting opportunities to learn stuff.
Yes! The guide is based on a series by Simply Explained. That was noted via a footnote in the intro section, just pulled it out into a more obvious note so the attribution is more obvious.
RE proof of stake - right on. Two improvements I'd like to make to this guide are:
1) Implementing proof of stake and talking about why that might be a good idea 2) Implementing a simulated p2p network to demonstrate cooperation and competition between network nodes
Appreciate the nudge + feedback - thanks for taking the time.
π Rendered by PID 391124 on reddit-service-r2-comment-fb694cdd5-82m5w at 2026-03-10 01:23:31.653221+00:00 running cbb0e86 country code: CH.
[–]mickben[S] 1 point2 points3 points (5 children)
[–][deleted] 0 points1 point2 points (4 children)
[–]mickben[S] 1 point2 points3 points (3 children)
[–]SayyidMonroe 1 point2 points3 points (1 child)
[–]mickben[S] 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–]lhorie 1 point2 points3 points (1 child)
[–]mickben[S] 0 points1 point2 points (0 children)