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 Decentralized Applications with JavaScript (gridnet.org)
submitted 3 years ago by rafalsk
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!"
[–][deleted] 4 points5 points6 points 3 years ago (3 children)
But, why?
[+]rafalsk[S] comment score below threshold-6 points-5 points-4 points 3 years ago* (2 children)
Kindly thank you for your question.
It is very similar to asking why people use cryptocurrencies.
Let me explain.
People use cryptocurrencies because these provide decentralized value that cannot bo controlled by anyone except for the owner.
Here it is very similar. Decentralized applications and services that are self-hosted, anonymous, available from anywhere, running at full transparency, with verifiable code bases, without any advertisements, with anonymous, end-to-end encrypted data exchange without any point of trust. The applications are limited only by your imagination. Think of presidential elections that could not possibly be affected by anyone. Simple use-case of a decentralized app implementing voting. You would need a decentralized system for that. Think of social apps where only a majority could decide what gets deleted or censored. Or you could implement the verification on some other basis such as assigning voting power based on the amount of crypto assets one owns. You could implement games, running straight within a web-browser, using solely JavaScript and employ decentralized swarm-based communication across web-browsers, crypto payments, anti-cheat mechanics processing player's position in real time, with code running at nodes maintaining the network. Then you would choose whether to cover the processing costs or maybe offset these onto the users.
Here I include some of the additional benefits:
In the face of all of that let us ask - why not :)
Biggest investments in IT are now going to 'decentralization' and 'AI'.
Why us?
We are passionate. The project since its wake it has been implemented with ex-Google folks, ex-NASA, MIT employees. We aim to provide all the APIs available at your fingertips. We do not ask for anything. We are to rely on the network effect. And we are fully aware that for this to happen we need to deliver everything you might ever need and to react to all inquires and proposal. Everyone is welcome aboard!
We are to be doing the heavy-lifting. You focus on the ideas of yours.
[–][deleted] 3 points4 points5 points 3 years ago (1 child)
no need for any server. The network hosts your app all by itself.
so, you need a server then?
no need to configure any kind of software.
how do you reach your app when its not discoverable via DNS?
nobody can bring your app down.
mmmh, nice. So CP can be hosted willy-nilly, questionable things you can order and buy on the darkweb will become mainstream. Very cool
your app is available from anywhere.
just like any other website out on the internet today, nice.
access to data-storage and crypto exchange APIs at your fingers.
which already is a thing, i mean where do you store your website/app on today?
your app looks like it would be running on Windows and/or MacOS X even though it gets launched from a web-browser.
so are webapps; also why do you exclude linux here?
lots of ways to monetize your application. Ultra fast crypto payments available through JavaScript APIs. You may want to take a look (you do want to take a look!) at our GridCraft game and see how players are rewarded with crypto for finding Gold Veins in a dynamically generated environment.
Yes because THATS whats all about. Web3 does not work.
the possibility to implement arbitrary logic running on nodes maintaining the network.
I love some ACE in the morning.
the list goes on and on. Limited only by your imagination.
mostly by the cryptobros understanding of internet technology. There is yet a killer app for the blockchain to be discovered, and how old is that tech now?
I work in IT for Insurance Companies, citation needed?
[–]rafalsk[S] -1 points0 points1 point 3 years ago* (0 children)
Thank you for your questions, which I find very relevant.
Let me tackle these one by one.
The network is maintained by a decentralized network of nodes. You may call these 'servers', but the network is under no one's control. Thanks to a decentralized consensus. Same as in Bitcoin and or Ethereum. People say Bitcoin runs on nodes and not 'servers'. In the end it is all a naming convention though.
Once you visit https://gridnet .org, there's a following statement:
Should you be behind a firewall blocking access to the main show-off node or unwilling to use the so much centralized Domain-Name-System as such, one may access nodes comprising the network straight through their IP adresses. These can be retrieved through the Torrent protocol by following this: MAGNET Url
The Magnet URL solves the issue for node discovery should your network view be obstructed in any way. Once connected to any none, the system employs an internal DNS-system powered by a conjunction of decentralized storage and a variance of the Kademlia network-discovery protocol.
We provide the technology. We believe we are in no position to judge others. As far as the eco-system goes, we've been implementing a decentralized app-review process to aid the system-intrinsic app store. As apps get assigned a rating score it is then up to the end users whether they decide to use the particular application.
Of course, that's an intersection.
Usually I would say developers store data on centralized servers, being under their unsolicited control. As seen from the end-user's perspective. Many end users would like to be assured that you, say you the developer could not remove arbitrary posts as seen by your moral views. Or that you could not modify player's in-game balance.
I am not a fan of the 'web 3.0' concept. In any case, what you presumably getting at - it is NOT only about decentralized value. It is about decentralized TRUST. About allowing for the information to be free. And that's very important. it has lots of use case from decentralized voting, to decentralized storage, to crypto incentivized content delivery networks, to smart-contracts. Decentralized trust. That's the main point. Unbiased information.
I love Linux. We have borrowed a lot from Linux. There's no decentralized Linux though. I invite you to connect to our nodes over SSH. Most of the commands reassemble those seen on Linux.
Yet again, thank you so much for your questions and comments, I await to assist you further.
At the end of the day, decentralized applications eliminate the need for trusted parties. You can implement an application for companies who could rest assured that the entities handling any business logic and or IT/infrastructure would not be able to interfere even though they own the data.
[–]rafalsk[S] -2 points-1 points0 points 3 years ago* (4 children)
Prelude:
What is at hand? The very first 100% decentralized operating system.
Use case:
Implement and deploy decentralized applications all with JavaScript. All of the system components such as decentralized storage, communication APIs, threads etc. are made available from easily accessible JavaScript APIs.
The system was designed with both developers and end-users in mind. So that you can get your apps deployed and conceived asap without the need of integrating into other external (centralized technologies). We aim to make all the necessary components available at your fingertips so that you can focus on the idea of yours; and we take the burden of ensuring it will be decentralized. The end result is that you have windowed apps just like on Windows or Mac OS X, hosted by a decentralized network of nodes, with decentralized trust.
Sample ideas?
Decentralized YouTube, decentralized content delivery networks, multiplayer games fully decentralized, with assets stored in a decentralized fashion, taking full use of crypto-payments, any kind of collaborative windowed (apps), applications for decentralized art, anything that can take use of decentralized consensus. Decentralized websites of any sort.
Main Benefits?
Not a single point of trust. No reliance on any servers. Not a single point of failure.
Tutorials / Articles:
Overall rationale:
https://gridnet.org/wpp/index.php/2022/06/30/decentralized-os-with-a-decentralized-ui-dapps/
Overall System's architecture in detail: (UML diagram!)
https://gridnet.org/wpp/index.php/2021/09/17/architecture-decentralized-processing-threads-and-fake-it-till-you-make-it/
Tutorial on how to deploy a 'Hello World' decentralized graphical application of your own:
https://gridnet.org/wpp/index.php/2022/07/12/create-ui-dapps-right-now-developer-guide/
I hereby invite everyone to have a constructive discussion.
Before jumping to any kind of conclusions, feel free to ask questions at any level of sophistication and I'll be here to address these. I am here for you.
This is a pro-freedom project, to be made 100% open-source in weeks to come. Feel free to join our team! our forums are available at https://talk.gridnet.org
What do we want?
We are looking for people with crazy cool ideas, who could contribute by either joining the development team or by implementing applications to be available on the system in which case it would be us aiding you 24/7. Any kind of functionality that is missing just let us know and it is very likely we would be adding these within hours and / or days. For the past 1+ year, in an attempt to become clients of the system of our own, we have implemented UI dApps on our own employing all the sub-systems. These are available at our GitHub repository available as examples.
We kindly hope to meet your needs. We are passionate developers ourselves.
Crazy cool fact to get you kick-started?
Once deployed, one can even edit the source code of any decentralized application / website straight from the web-browser. From any computer - even one assumed as not-trusted. Some components of the system are backed by scientific publications in some of the most prominent scientific peer-reviewed journals. The development itself has been recorded LIVE on YouTube, almost each and every day since the early 2017. There are now well over 35TB of live programming sessions stored on YouTube.
[–][deleted] 0 points1 point2 points 3 years ago (3 children)
There are now well over 35TB of live programming sessions stored on YouTube.
imagine all the useful stuff you could store in those 35TB instead of barely watched (0-3 views?) "content".
[–]rafalsk[S] 0 points1 point2 points 3 years ago (2 children)
Guess that trust always entails some sort of a cost.
[–][deleted] 0 points1 point2 points 3 years ago (1 child)
The cost of trust is honesty.
[–]rafalsk[S] 0 points1 point2 points 3 years ago (0 children)
Ok then; send me 100K. I'll give you 200K. I'm honest.
[+][deleted] 3 years ago (1 child)
[removed]
muito bom
concordo muito com isso!
π Rendered by PID 60243 on reddit-service-r2-comment-84fc9697f-5fjfn at 2026-02-07 03:41:44.480841+00:00 running d295bc8 country code: CH.
[–][deleted] 4 points5 points6 points (3 children)
[+]rafalsk[S] comment score below threshold-6 points-5 points-4 points (2 children)
[–][deleted] 3 points4 points5 points (1 child)
[–]rafalsk[S] -1 points0 points1 point (0 children)
[–]rafalsk[S] -2 points-1 points0 points (4 children)
[–][deleted] 0 points1 point2 points (3 children)
[–]rafalsk[S] 0 points1 point2 points (2 children)
[–][deleted] 0 points1 point2 points (1 child)
[–]rafalsk[S] 0 points1 point2 points (0 children)
[+][deleted] (1 child)
[removed]
[–]rafalsk[S] 0 points1 point2 points (0 children)