I am a software engineer specialising in Blockchain, DevOps and Go/JavaScript. This is my personal blog where I write about things that I learn and feel interesting to share.
Post London upgrade which implements EIP-1559, Ethereum has changed how block size and transaction fees works. Block Gas Limit Earlier Ethereum block gas limit was calculated using the below formula: block_gas_limit = (parent_gas_limit * 1023 + parent_gas_used * 1.5) / 1024 This formula changes the gas limit of blocks by 0.0976% in either direction. Post […]
The purpose of tutorial article is to understand the architecture and thought process of building a blockchain based decentralised identity, records management and voting solution using AWS for the government of mars. Goal The mars government was to build a fast and secure solution which helps the martians to proof their identity and can cast […]
As you must be aware that smart contracts are immutable programs that run exactly as programmed without any third party interface. Smart contracts cannot be modified once they are deployed which is actually a feature of smart contracts but in some blockchain use-cases it may be needed to change the smart contracts interfaces and/or their […]
You can simply use web3.eth.getTransactionCount to get the transaction nonce but it doesn’t include the transactions pending in the transaction pool. The purpose of this API is to simply retrieve total transactions count from the blockchain only till a particular block (by default latest block). So when you are pushing a lot of transactions from […]
Amazon ELB is an auto scalable load balancer that sits in front of EC2 instances and distributes traffic between them. Client communicates with ELB not with EC2 instances directly. When you create a ELB you get a domain name provided by Amazon AWS to make requests to the ELB. This domain name resolves to different […]
Many people use the Media Plugin to record audio in cordova apps. Here is an sample code that shows how to record: var extension = null; document.addEventListener("deviceready", function(){ if(device.platform == "iOS") { extension = ".wav"; } else if(device.platform […]
This post is a part 18 of ECMAScript 6 Complete Tutorial post series. Object reflection is an language ability to able to inspect and manipulate object properties at runtime. JavaScript already had been supporting APIs for object reflection but these APIs were not organized under a namespace and also they threw exception when they fail […]
Developers who are new to Express often get confused with the difference between route handler and middleware. Therefore they also get confused with the difference between app.use(), app.all(), app.get(), app.post(), app.delete() and app.put() methods. In this tutorial I will explain the exact difference between a middleware and route handler. And also how to use the […]
This post is a part 53 of Intel XDK Complete Tutorial post series. I wrote an article on how to store data locally in cordova based apps. As Intel XDK builds cordova apps therefore the technique is same for Intel XDK also. The article is published by SitePoint.
Most Commented