
Member-only story
Javascript refresher for web3
If you are just getting started developing for some aspect of web3/Ethereum/Blockchain/Solidity, chances are you will need some medium/advanced Javascript (JS) chops at some point, I’ve being away from FED (where JS reigns supreme) for a while so this is an informal refresher for myself and those getting into web3.
This ain't no crash course party but that doesn't mean you can't benefit as a beginner, if you find yourself lost this is a decent entry point into the javascript ( and programming ) rabbit hole:
Conceptually
Big picture my favorite way of thinking about blockchains vs the traditional web is layers; for a while the only layer was the internet and we decided it was a good idea to make it the everything layer, so there’s commerce, payments along with news, entertainment and government services for instance, but most of these things were/are just a front for a real service in real life, nowadays there’s also digital goods and services and this new thing called the blockchain which you can think of as an independent digital sub layer that was originally meant to replace the real money/payment layer but has become a whole new ecosystem of products and services and is still mutating so it’s hard to pin it down.
Javascript’s role in all this has mutated from being a basic scripting engine you used to add some functionality to your 80’s HTML web site to a full fledged language that is in charge of running everything from apps to sophisticated UI frameworks like React and things like node ( which can run network applications server side ) and well everything in between… a true success story.
But specifically one uses Javascript to communicate back and forth with the Ethereum ( or other ) blockchain and since Ethereum is an EVM which you guessed it is another layer: a store of value, computing distributed one, it mostly boils down to sending messages and instructions back and forth, the only weird thing here is that there is…