{"id":2533,"date":"2018-04-08T12:09:27","date_gmt":"2018-04-08T12:09:27","guid":{"rendered":"http:\/\/javascript-tutor.net\/?p=2533"},"modified":"2018-04-11T02:23:12","modified_gmt":"2018-04-11T02:23:12","slug":"creating-a-blockchain-using-javascript","status":"publish","type":"post","link":"https:\/\/javascript-tutor.net\/index.php\/2018\/04\/08\/creating-a-blockchain-using-javascript\/","title":{"rendered":"Creating a Blockchain using JavaScript"},"content":{"rendered":"<p>Cryptocurrency is a hot topic nowadays, especially since the value of Bitcoin has skyrocketed in the past two years. Though it is a volatile investment, many people still go for it.<\/p>\n<p>Equally popular topic is the technology behind the\u00a0cryptocurrency, i.e. the Blockchain. The appeal of the blockchain is that it can be applied to other industries other than cryptocurrency.\u00a0The blockchain is a distributed ledger technology that provides a way to record and transfer data that is transparent, safe, auditable, and resistant to outages. The blockchain has the ability to make the organizations that use it transparent, democratic, decentralized, efficient, and secure.<\/p>\n<p>In this article, we are keen to explore how JavaScript can be used to create a blockchain. There are many programming languages\u00a0that are suitable to be used to write blockchain script, among them, VB.Net, Java, C++, Python, Solidity and of course, JavaScript.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Cryptocurrency is a hot topic nowadays, especially since the value of Bitcoin has skyrocketed in the past two years. Though it is a volatile investment, many people still go for it. Equally popular topic is the technology behind the\u00a0cryptocurrency, i.e. the Blockchain. The appeal of the blockchain is that it can be applied to other &hellip; <a href=\"https:\/\/javascript-tutor.net\/index.php\/2018\/04\/08\/creating-a-blockchain-using-javascript\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Creating a Blockchain using JavaScript&#8221;<\/span><\/a><\/p>\n","protected":false},"author":35895,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-2533","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Creating a Blockchain using JavaScript - Learn JavaScript Online | Free Interactive JavaScript Tutorials<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/javascript-tutor.net\/index.php\/2018\/04\/08\/creating-a-blockchain-using-javascript\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Creating a Blockchain using JavaScript - Learn JavaScript Online | Free Interactive JavaScript Tutorials\" \/>\n<meta property=\"og:description\" content=\"Cryptocurrency is a hot topic nowadays, especially since the value of Bitcoin has skyrocketed in the past two years. Though it is a volatile investment, many people still go for it. Equally popular topic is the technology behind the\u00a0cryptocurrency, i.e. the Blockchain. The appeal of the blockchain is that it can be applied to other &hellip; Continue reading &quot;Creating a Blockchain using JavaScript&quot;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/javascript-tutor.net\/index.php\/2018\/04\/08\/creating-a-blockchain-using-javascript\/\" \/>\n<meta property=\"og:site_name\" content=\"Learn JavaScript Online | Free Interactive JavaScript Tutorials\" \/>\n<meta property=\"article:published_time\" content=\"2018-04-08T12:09:27+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2018-04-11T02:23:12+00:00\" \/>\n<meta name=\"author\" content=\"Liew Voon Kiong\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Liew Voon Kiong\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/javascript-tutor.net\/index.php\/2018\/04\/08\/creating-a-blockchain-using-javascript\/\",\"url\":\"https:\/\/javascript-tutor.net\/index.php\/2018\/04\/08\/creating-a-blockchain-using-javascript\/\",\"name\":\"Creating a Blockchain using JavaScript - Learn JavaScript Online | Free Interactive JavaScript Tutorials\",\"isPartOf\":{\"@id\":\"https:\/\/javascript-tutor.net\/#website\"},\"datePublished\":\"2018-04-08T12:09:27+00:00\",\"dateModified\":\"2018-04-11T02:23:12+00:00\",\"author\":{\"@id\":\"https:\/\/javascript-tutor.net\/#\/schema\/person\/63d832c3efdf443517b5f5bfd1b93df8\"},\"breadcrumb\":{\"@id\":\"https:\/\/javascript-tutor.net\/index.php\/2018\/04\/08\/creating-a-blockchain-using-javascript\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/javascript-tutor.net\/index.php\/2018\/04\/08\/creating-a-blockchain-using-javascript\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/javascript-tutor.net\/index.php\/2018\/04\/08\/creating-a-blockchain-using-javascript\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/javascript-tutor.net\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Creating a Blockchain using JavaScript\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/javascript-tutor.net\/#website\",\"url\":\"https:\/\/javascript-tutor.net\/\",\"name\":\"Learn JavaScript Online | Free Interactive JavaScript Tutorials\",\"description\":\"Master JavaScript with free, interactive tutorials for beginners and experienced coders. Practice live coding and visualize how JavaScript works step by step.\",\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/javascript-tutor.net\/#\/schema\/person\/63d832c3efdf443517b5f5bfd1b93df8\",\"name\":\"Liew Voon Kiong\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/javascript-tutor.net\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/413ad70576fa5f43c1d3ae3429c92579c21f536c350e6470302fa25ddd9b6a13?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/413ad70576fa5f43c1d3ae3429c92579c21f536c350e6470302fa25ddd9b6a13?s=96&d=mm&r=g\",\"caption\":\"Liew Voon Kiong\"},\"url\":\"https:\/\/javascript-tutor.net\/index.php\/author\/ajt7051jct\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Creating a Blockchain using JavaScript - Learn JavaScript Online | Free Interactive JavaScript Tutorials","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/javascript-tutor.net\/index.php\/2018\/04\/08\/creating-a-blockchain-using-javascript\/","og_locale":"en_US","og_type":"article","og_title":"Creating a Blockchain using JavaScript - Learn JavaScript Online | Free Interactive JavaScript Tutorials","og_description":"Cryptocurrency is a hot topic nowadays, especially since the value of Bitcoin has skyrocketed in the past two years. Though it is a volatile investment, many people still go for it. Equally popular topic is the technology behind the\u00a0cryptocurrency, i.e. the Blockchain. The appeal of the blockchain is that it can be applied to other &hellip; Continue reading \"Creating a Blockchain using JavaScript\"","og_url":"https:\/\/javascript-tutor.net\/index.php\/2018\/04\/08\/creating-a-blockchain-using-javascript\/","og_site_name":"Learn JavaScript Online | Free Interactive JavaScript Tutorials","article_published_time":"2018-04-08T12:09:27+00:00","article_modified_time":"2018-04-11T02:23:12+00:00","author":"Liew Voon Kiong","twitter_misc":{"Written by":"Liew Voon Kiong","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/javascript-tutor.net\/index.php\/2018\/04\/08\/creating-a-blockchain-using-javascript\/","url":"https:\/\/javascript-tutor.net\/index.php\/2018\/04\/08\/creating-a-blockchain-using-javascript\/","name":"Creating a Blockchain using JavaScript - Learn JavaScript Online | Free Interactive JavaScript Tutorials","isPartOf":{"@id":"https:\/\/javascript-tutor.net\/#website"},"datePublished":"2018-04-08T12:09:27+00:00","dateModified":"2018-04-11T02:23:12+00:00","author":{"@id":"https:\/\/javascript-tutor.net\/#\/schema\/person\/63d832c3efdf443517b5f5bfd1b93df8"},"breadcrumb":{"@id":"https:\/\/javascript-tutor.net\/index.php\/2018\/04\/08\/creating-a-blockchain-using-javascript\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/javascript-tutor.net\/index.php\/2018\/04\/08\/creating-a-blockchain-using-javascript\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/javascript-tutor.net\/index.php\/2018\/04\/08\/creating-a-blockchain-using-javascript\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/javascript-tutor.net\/"},{"@type":"ListItem","position":2,"name":"Creating a Blockchain using JavaScript"}]},{"@type":"WebSite","@id":"https:\/\/javascript-tutor.net\/#website","url":"https:\/\/javascript-tutor.net\/","name":"Learn JavaScript Online | Free Interactive JavaScript Tutorials","description":"Master JavaScript with free, interactive tutorials for beginners and experienced coders. Practice live coding and visualize how JavaScript works step by step.","inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/javascript-tutor.net\/#\/schema\/person\/63d832c3efdf443517b5f5bfd1b93df8","name":"Liew Voon Kiong","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/javascript-tutor.net\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/413ad70576fa5f43c1d3ae3429c92579c21f536c350e6470302fa25ddd9b6a13?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/413ad70576fa5f43c1d3ae3429c92579c21f536c350e6470302fa25ddd9b6a13?s=96&d=mm&r=g","caption":"Liew Voon Kiong"},"url":"https:\/\/javascript-tutor.net\/index.php\/author\/ajt7051jct\/"}]}},"_links":{"self":[{"href":"https:\/\/javascript-tutor.net\/index.php\/wp-json\/wp\/v2\/posts\/2533","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/javascript-tutor.net\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/javascript-tutor.net\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/javascript-tutor.net\/index.php\/wp-json\/wp\/v2\/users\/35895"}],"replies":[{"embeddable":true,"href":"https:\/\/javascript-tutor.net\/index.php\/wp-json\/wp\/v2\/comments?post=2533"}],"version-history":[{"count":6,"href":"https:\/\/javascript-tutor.net\/index.php\/wp-json\/wp\/v2\/posts\/2533\/revisions"}],"predecessor-version":[{"id":2559,"href":"https:\/\/javascript-tutor.net\/index.php\/wp-json\/wp\/v2\/posts\/2533\/revisions\/2559"}],"wp:attachment":[{"href":"https:\/\/javascript-tutor.net\/index.php\/wp-json\/wp\/v2\/media?parent=2533"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/javascript-tutor.net\/index.php\/wp-json\/wp\/v2\/categories?post=2533"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/javascript-tutor.net\/index.php\/wp-json\/wp\/v2\/tags?post=2533"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}