top of page
Yanda logo


An algorithm is a finite sequence of instructions that conduct computer programs to perform and execute a variety of simple tasks or more complex operations.

An algorithm is a set of instructions or rules followed in a specific order to solve a problem or achieve a particular result. Algorithms are used in various fields, including computer science, mathematics, and economics.

In the blockchain industry, algorithms perform various functions within the networks. For example, algorithms are used to secure and validate transactions, ensure the integrity and consistency of the blockchain, and enable the creation of new blocks.

One of the most well-known algorithms in this field is the proof-of-work (PoW) algorithm, which many blockchain networks use to validate transactions and create new blocks. In a PoW system, users compete to solve complex mathematical problems using their computing power. The first user who solves the problem is rewarded with cryptocurrency.

Another important algorithm (known as the consensus mechanism) is the proof-of-stake (PoS), which is also used to validate transactions and create new blocks differently. In a PoS system, users are chosen to create new blocks based on their stake in the network – that is, the amount of cryptocurrency they hold. This means that users with a larger stake in the network are more likely to be chosen to create new blocks and are rewarded with a certain amount of cryptocurrency for doing so.

Algorithms are also used to enable smart contracts - self-executing agreements between two actors - to play a crucial role in the blockchain industry, in terms of networks' security and efficiency, creating new and innovative applications.

bottom of page