Tag: blockchain
-
How to access private data from a smart contract
One of the biggest advantages of blockchains or at least public blockchains is that they are “public”. Nothing can be hidden and all the transactions are publicly visible. If you are a smart contract developer, you must have heard about the access modifier and particularly the “private” access modifier. Access Modifiers in Solidity We know…
-
Ethereum Merge From The Developer’s Perspective
Ethereum’s transition to PoS aka the merge is here. It’s been running smoothly for more than 3 days now. And it has already reduced Ethereum’s energy consumption by 99.99%. As discussed in the last article, we know that the merge is all about replacing the PoW consensus layer with the PoS consensus layer, all while…
-
The merge is coming!
The most awaited, most discussed, most anticipated “the merge” is finally happening in a few days. This upgrade is regarded as the most significant upgrade in the history of Ethereum. But, exactly what is going to happen? What entails after the merge? Let’s understand exactly what is all this fuss about, why this merge is…
-
Merkle trees explained – Part 3: Merkle verification in Solidity and Javascript
In Part 1 and Part 2 of this series, we have explored what are merkle trees, definition, concept and how merkle trees can be used to check the proof of inclusion. In this part, let’s checkout how we can perform merkle verification in smart contracts and in javascript. Merkle Verification in Smart contracts First thing…
-
Merkle trees explained – Part 2: How verification of presence works
In part 1 of this article, we tried to understand what merkle trees are and the concept behind. We know that merkle trees help us in verifying whether a particular data point is the part of the tree ( merkle root ) or not. In this part, let’s go through exactly how this process of…
-
Merkle trees explained – Part 1: What are merkle trees?
If you are a dev / techie and if you have a high level understanding of blockchains, you surely have heard this buzzword: “Merkle trees”. Wikipedia says: In cryptography and computer science, a hash tree or Merkle tree is a tree in which every “leaf” (node) is labelled with the cryptographic hash of a data block,…