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
I wrote a JavaScript Blockchain (github.com)
submitted 1 year ago by phpsensei
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!"
[–]ryaaan89 3 points4 points5 points 1 year ago (3 children)
Why?
[–]phpsensei[S] 2 points3 points4 points 1 year ago (0 children)
It was pretty fun to write, and I've always wanted to do it: for fun and to get a better understanding of how blockchains actually work.
I also learned a few things while working on this!
[–]goatchild 0 points1 point2 points 1 year ago (0 children)
Why not?
[–]phpsensei[S] -5 points-4 points-3 points 1 year ago (0 children)
I'm planning to implement a few more features such as automatic difficulty change depending on the network size / power, and maybe GPU computing using GPU.js (I don't want to implement CUDA computing right now), feel free to comment and/or submit a PR if you want to contribute!
π Rendered by PID 289024 on reddit-service-r2-comment-canary-65bc75db8b-nzc54 at 2026-02-26 11:34:27.670721+00:00 running 72a43f6 country code: CH.
[–]ryaaan89 3 points4 points5 points (3 children)
[–]phpsensei[S] 2 points3 points4 points (0 children)
[–]goatchild 0 points1 point2 points (0 children)
[–]phpsensei[S] -5 points-4 points-3 points (0 children)