Thanks for this article, but i think the devil is in details. Blockchain itself is a simple pattern, but it has nothing to do with real world blockchain powered p2p networks. In real application you need to spend much more code and time with such things like establishing secure socket connection, managing resources and implementing an idea of your cryptosystem (what it is and why it should help people live their lives in happiness).
P.S. there is no need in self-executing function if you use a node's require/exports system.
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.