What is Algorand?


In this article, I will explain about Algorand, and how we can set up algorand on our System.


Algorand is a scalability-focused blockchain cryptocurrency technology. The Algorand platform supports smart contracts, and its consensus method is pure proof-of-stake (PPoS), which recruits network operators from the whole pool of ALGO currency holders, as well as a Byzantine agreement protocol. ALGO is the name of Algorand's native cryptocurrency. ALGO is a digital currency as well as a blockchain platform that is used to secure the Algorand blockchain and pay transaction fees for Algorand-based transactions. The Algorand platform is meant to handle a large number of transactions fast, much like a big payment processor such as Mastercard or Visa. Algorand is a direct competitor to Ethereum since it can host other cryptocurrencies and blockchain-based initiatives. Because it is an open-source blockchain, anybody may access and contribute to the platform's code.
  • Transactions handled over the Algorand network are completed in around four seconds.
  • The transaction charge is merely 1,000 microAlgos, or.001 Algos.
  • Because Algorand does not support forking, transactions are final once they are verified in a block. A throughput of 1,000 TPS translates to 1,000 completed transactions per second.
You can learn more about Algorand here.

What distinguishes Algorand as a green blockchain?

Algorand bills itself as the most efficient and environmentally friendly blockchain. Algorand has been carbon-negative since April 2021, which means that the platform acquires carbon credits that more than offset its carbon emissions.

Are you able to mine ALGO?

Rather than being mined, ALGO is verified. To administer a blockchain network, the proof-of-stake consensus process, including pure proof of stake, employs validators rather than miners. Crypto mining is most commonly connected with the proof-of-work consensus process.

Setup Algorand on Windows Machine

  • Unlike some blockchain, Algorand has a Docker Image, so you need to install and set up docker on your PC.
  • And in order to run the Algorand commands, we would need Git Bash.
Step 1
Download the Docker Compose installer from here.
Step 2
Execute the installer and follow the steps to install the Docker Compose on your PC.
Step 3
Open the Docker Compose Application, and keep docker running in the background.
Step 4
Clone the Algorand Sandbox app using the following commands
  1. git clone https://github.com/algorand/sandbox.git   
Step 5
Open Git Bash and execute the following command on the location where your cloned folder is saved
  1. cd sandbox    
  2. ./sandbox up testnet-v  
The above command will take quite some time, and would require a lot of bandwidth. So hang in there until docker is installed and extracted on your PC.

Algorand Network

Algorand Public Networks 
Source: developer.algorand.org
Public Networks 
  1. MainNet is the major Algorand Network, featuring real-value assets such as the Algo, Algorand's native currency. Learn more here.
  2. In terms of protocol (i.e. software) version, TestNet is identical to MainNet, but it features test Algos, which are accessible via a faucet, and a different genesis block, which implies the status of accounts and distribution of monies is different. Learn more here.
  3. BetaNet will be the location for the initial testing of new protocol-level functionality. Learn more here.
Side-by-side Network Comparison
Protocol VersionCurrentCurrentFuture
Genesis DistributionUniqueUniqueUnique
Algo AccessibilityFor saleFree from faucetFree from faucet
Network ReliabilityMost StableVery Stable, but restarts are possibleExperimental; frequent restarts
Private Networks
  • release - stable dev build of algod and master branch of Indexer.
  • nightly - nightly dev build of algod and the dev branch of Indexer.
  • beta - beta build of algod and dev branch of Indexer.
  • dev - dev branch of algod and indexer, building algod takes a while so this will be slower than the other private network configurations.

Algorand Node Types

The Algorand network is made up of two kinds of nodes: relay nodes and non-relay nodes. Relay nodes are typically utilized for communication routing to a group of non-relay nodes that are linked. Relay nodes communicate with other relay nodes and route blocks to all non-relay nodes that are linked. Non-relay nodes can only connect to relay nodes and participate in consensus. Non-relay nodes can link to several relay nodes but never another non-relay node.
In addition to the two-node kinds, nodes can be archived and indexed. The full ledger is stored on archival nodes, and if the indexer is enabled, the search range via the API REST endpoint is expanded. The installation process is the same for both node types. A few configuration parameter adjustments are required to configure a node for a given type, as explained below. The node will be configured as a non-relay node in non-archival and non-indexed mode by default.
To read more visit.

Commonly Used Sandbox Commands

  1. ./sandbox up testnet -v is used to start the Algorand testnet node. You can replace "testnet" with "betanet", etc.
  2. ./sandbox down is used to stop the algorand node.
  3. ./sandbox test is used to run tests.
  4. ./sandbox goal node catchup [catchup_point] is used to sync the node with the network using the fast catchup point.
  5. ./sandbox goal node status is used to sync the node with the network.
  6. ./sandbox goal node status -w 1000 is used to tell the time delay between two successive sync.
  7. ./sandbox goal wallet new is used to create a new wallet.
  8. ./sandbox goal wallet list is used to list all the wallets details.
  9. ./sandbox goal account new is used to create a new account.
  10. ./sandbox goal account list is used to list all the account details.

Installing Algorand SDK

Algorand provides SDK in 4 languages namely Go, JavaScript, Java, and Python. Use the provided methods to install SDK particular to the language used.

1. Python SDK

  1. pip3 install py-algorand-sdk  

2. JavaScript SDK

  1. # initialize project  
  2. npm init  
  3. # install Algorand sdk  
  4. npm install algosdk  
  5. # list the version  
  6. npm list algosdk  
  8. # This package provides TypeScript types, but you will need TypeScript version 4.2 or higher to use them properly.  

3. Go SDK

  1. go get -u github.com/algorand/go-algorand-sdk/...  

4. Java SDK

  1. <dependency>  
  2.     <groupId>com.algorand</groupId>  
  3.     <artifactId>algosdk</artifactId>  
  4.     <version>1.11.0</version>  
  5. </dependency>  


Thank for reading the article, hope you got to know about Algorand, and how we can set it up on our system.
We will continue the Algorand series.