Sooraj Profile picture
Jul 19, 2022 26 tweets 26 min read Read on X
Recently, #Algorand has become a hot topic among the #CardanoCommunity

The curiosity peaked, especially after @JohnAlanWoods left @InputOutputHK

To become the new CTO of @AlgoFoundation

So, here is a thread on #Algorand & its Pure Proof of Stake(PPoS) algorithm🧵👇 Image
@JohnAlanWoods @InputOutputHK @AlgoFoundation The purpose of this thread is to focus on👇

• Nodes & Network

• Accounting model

• The team behind #Algorand

• Launch & Initial token distribution

• Consensus & Pure proof of stake(PPoS) sybil protection

To provide a basic understanding of #Algorand
@JohnAlanWoods @InputOutputHK @AlgoFoundation Team👇

Algorand is a L1 Blockchain

Founded in June 2019 by computer scientist & MIT professor Silvio Micali

Who co-invented many breakthroughs at the heart of modern cryptography

such as VRFs & zero-knowledge proofs (ZKPs)

& won the 2012 Turing Award for his contributions Image
@JohnAlanWoods @InputOutputHK @AlgoFoundation The core development of the Algorand protocol is overseen by

Algorand Inc. is a private corporation based in Boston

The Algorand test network was launched to the public in April 2019

And the main network was launched in June 2019.
@JohnAlanWoods @InputOutputHK @AlgoFoundation Initial token distribution👇

Private sale:

Algorand did not conduct a private token sale

Algorand, Inc. conducted equity raises of $4 million USD in Feb 2018

& $62 million USD in Oct 2018 to fund protocol development

Equity investors own a portion of Algorand, Inc. Image
@JohnAlanWoods @InputOutputHK @AlgoFoundation Public sale:

Algo tokens are distributed by the Algorand Foundation via a series of dutch auctions

The first auction was conducted on June 19th, 2019

With 25,000,000 tokens sold at a clearing price of $2.40 for a total capital raise of $60 million USD Image
@JohnAlanWoods @InputOutputHK @AlgoFoundation Algorand’s mainnet launch created 10 billion ALGOs at the genesis

A total of 2.5 billion ALGO (25% of the initial supply)

Were granted to the founders & Algorand Foundation

The rest of the ALGO will be distributed through rewards, grants, & auctions Image
@JohnAlanWoods @InputOutputHK @AlgoFoundation Algorand uses a 2-tiered blockchain design

The layer 1 tier allows for creating Algorand Standard Assets (ASA)👇

• New or existing tokens on the blockchain

• Atomic swaps & simple Algorand smart contracts

Layer-2 tier is for more complicated SCs & dApps that run off-chain
@JohnAlanWoods @InputOutputHK @AlgoFoundation Nodes & Network:

Algorand networks employs two types of nodes

• Relay nodes &

• Particpation nodes

They serve two different functions in the networks

The participation nodes helps to participate in the consensus

To validate transactions Image
@JohnAlanWoods @InputOutputHK @AlgoFoundation Whereas,

Relay nodes are the communication backbone of the Algorand network

It creates efficient communication

By finding the efficient path between the messages & the nodes

So as to reduce communication loops between the participation node

Node requirements 👇 Image
@JohnAlanWoods @InputOutputHK @AlgoFoundation As of now you cannot just start running a relay node

Because it's permissioned by Algorand foundation

According to the information by algorand foundation

Currently, there are just under 120 relay nodes on the Algorand network

And around 1600-1700 participation nodes
@JohnAlanWoods @InputOutputHK @AlgoFoundation Simply said,

The participation nodes run the show

But they cannot run the show without the networking backbone

Provided by the relay nodes

Which as of now is a geographically distributed & permissioned network of nodes
@JohnAlanWoods @InputOutputHK @AlgoFoundation Consensus & Pure proof of stake(PPoS) sybil protection:

Algorand uses Byzantine agreement (BA) protocol paired with PPoS

To reach decentralized consensus

So what is PPoS?

PPoS is a mechanism used by #Algorand to prevent sybil attacks Image
@JohnAlanWoods @InputOutputHK @AlgoFoundation PPoS also known as proof of weight

Meaning,

Your percentage of tokens owned in the network represents

Your probability of discovering the next block

Participants in BA are randomly selected based on a PPoS mechanism that relies on "cryptographic sortition"
@JohnAlanWoods @InputOutputHK @AlgoFoundation BA achieves scalability by assigning each step of its protocol to a committee

BA uses VRFs to randomly choose users in a private & non-interactive manner

If the user is chosen

The function produces a short string

That proves user's membership in the committee to other users Image
@JohnAlanWoods @InputOutputHK @AlgoFoundation For example,

An adversary does not know which user to target

Until that user starts participating in BA since membership selection is non-interactive

The steps during the cryptographic sortition process are listed as follows: Image
@JohnAlanWoods @InputOutputHK @AlgoFoundation The agreed-upon block is then confirmed & transmitted via the network

Using various digital signatures from the proper verifiers

Because only one block can have the required threshold of committee votes on Algorand

Two blocks can never be added to the chain at the same time
@JohnAlanWoods @InputOutputHK @AlgoFoundation Which prevents forking in the networks during the process of block creation

This means that in a properly decentralized network

All transactions are completed within seconds

Which assures fast finality
@JohnAlanWoods @InputOutputHK @AlgoFoundation Accounting model:

Algorand has an account-based model similar to Ethereum

But it offers two layer-1 smart contract types

• Stateless contracts

• Stateful contracts similar to #Ethereum

Stateless contracts embody the idea of stateless transactions

Similar to the UTXO model
@JohnAlanWoods @InputOutputHK @AlgoFoundation On Algorand you can develop stateful & stateless contracts

through a programming language called Transaction Execution Approval language (TEAL)

which is non-Turing-complete

Algorand also enables programming with Reach, Java, PyTeal, Python, GO & Rust Image
@JohnAlanWoods @InputOutputHK @AlgoFoundation Like in #Ethereum

Stateful Smart Contracts implement application logic and can store & update on-chain values

basically,

The stateful Smart contracts form the backbone

For building dApps (eg: AMMs, borrow/Lending platforms) on the Algorand blockchain Image
@JohnAlanWoods @InputOutputHK @AlgoFoundation Whereas,

stateless SCs are used to approve spending or asset transfer transactions

& often govern all transactions from a specific account

Meaning,

Stateless contracts are used to approve certain transactions

where logic is not on-chain but is submitted with the transaction Image
@JohnAlanWoods @InputOutputHK @AlgoFoundation It is possible to link stateful smart contracts with payment transactions

Using Atomic transfers (a feature that allows up to 16 transactions to be submitted simultaneously)

Many different types of transactions can be grouped including both stateful & stateless SCs Image
@JohnAlanWoods @InputOutputHK @AlgoFoundation Current state of DeFi:

#Algorand boasts a TVL of 212 million USD

With many active dApps

Where @algofiorg, a decentralized lending protocol ranks first

Among the dApps with most TVL

Credit: @DefiLlama Image
@JohnAlanWoods @InputOutputHK @AlgoFoundation @algofiorg @DefiLlama TL;DR -

• Algorand is a L1 blockchain backed by heavy weights in cryptography like @silviomicali

• Which uses Byzantine agreement (BA) protocol paired with PPoS to reach decentralized consensus

• And a ledger model that allows for flexibility
That's a wrap! If you enjoyed this thread:

1. Give me a follow! @Soorajksaju2

2. For more actionable tips on crypto & crypto metrics check out my free weekly newsletter:

…st-the-metrics-newsletter.beehiiv.com/subscribe?utm_…

• • •

Missing some Tweet in this thread? You can try to force a refresh
 

Keep Current with Sooraj

Sooraj Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

PDF

Twitter may remove this content at anytime! Save it as PDF for later use!

Try unrolling a thread yourself!

how to unroll video
  1. Follow @ThreadReaderApp to mention us!

  2. From a Twitter thread mention us with a keyword "unroll"
@threadreaderapp unroll

Practice here first or read more on our help page!

More from @SoorajKSaju

Sep 20, 2023
If blockchains aspire to be the cornerstone of global finance

the dApps on these blockchains must be built with the rigor & reliability of safety-critical systems

Here's why VMs leveraging the Finite State Machines (FSM) model will be vital in building mission-critical dApps👇 Image
2/27
The current state of DeFi does not enable mission-critical dApps

Why is this the case?

Let's examine the Ethereum smart contract model,

which is a black box with an insurmountable amount of complexity

and serves as a fertile ground for exploits
3/27
An #Ethereum SC can be conceptualized as a black box deployed on the network by a dev

Within this black box is a miniature, general-purpose computer server running specific code

To interact with this, users or other apps can call its "methods" by sending a signed message Image
Read 27 tweets
Aug 23, 2023
To ensure security, PoS chains need a significant amount of capital

On the other hand

#Bitcoin, which operates on PoW, represents an idle asset with a market cap of HALF A TRILLION USD

Is it possible to secure PoS chains with #Bitcoin?

Yes & here's why its a game changer🧵👇 Image
2/26
PoS chains are based on the idea that they can enhance scalability & energy efficiency

while preserving the security of the ledger

This is achieved by allowing parties to extend the blockchain based on the amount of coins they own

instead of relying on computing power Image
3/26
Simply said,

PoW chains are secured by computation,

and PoS chains are secured by capital

In the current high-capital-cost environment, capital is often difficult to attract

especially for app-specific chains or Appchains in their bootstrapping phase
Read 27 tweets
Jun 22, 2023
Although #Cardano's architecture is fundamentally different from #Ethereum's

1st gen of dApps on #Cardano resembled EVM's account-based programming model

BUT

The future belongs to dApps that fully leverage the E-UTxO model of Cardano

Here's a thread on distributed dApps🧵👇
2/33
The E-UTxO model of #Cardano is fundamentally superior to Ethereum’s account-based model

This model enables the implementation of innovative, scalable solutions

that are virtually impossible to achieve using #Ethereum’s account-based approach

However,
3/33
Designs of most dApps on #Cardano, especially DEXs, closely resemble EVM's account-based programming paradigm

What we need are dApps that make innovative design choices & fully exploit the potential of E-UTxO model

That's the direction we're heading with distributed dApps
Read 34 tweets
Jun 17, 2023
In a world where

#Haskell fuels a mere 0.65% of internet projects & #Python dominates with 25%

the need for a #Python-based SC dev platform becomes increasingly pivotal for any #blockchain

Enter @OpShinDev: a game-changing tool for onboarding new developers to #Cardano🧵👇 Image
2/14
@OpShinDev is a Python-based solution,

leveraging one of the most commonly used programming languages

Its ambition is to enhance the accessibility & usability of blockchain development

without compromising the intricacies required for SCs on #Cardano
3/14
The defining feature of OpShin is its grounding in Python 3

Python's compatibility allows seamless integration with off-chain Python-based tools such as PyCardano

and lets developers utilize existing testing frameworks and IDEs (Integrated Development Environment) Image
Read 18 tweets
Jun 13, 2023
As it stands, the Haskell-Plutus platform serves as the primary tool for developing & deploying smart contracts on #Cardano

However, a novel programming language "Aiken" is emerging as a superior alternative

Discover what sets Aiken apart & why it's a game-changer for #Cardano Image
2/27
What is Aiken?

It is a pure functional programming language

tailored to offer developers a modern & efficient environment for constructing smart contracts on #Cardano

It is specifically designed to enhance UX by simplifying the process of creating dApps on #Cardano
3/27
Created specifically for the Cardano ecosystem,

Aiken simplifies SC development and deployment while focusing on accessibility and user-friendliness for developers

So let's take a look at the Key Features of Aiken👇
Read 29 tweets
May 2, 2023
Almost 90% of #Ethereum's L2 TVL is on rollups such as #Optimism & #Arbitrum

Which lack critical safety measures & are governed by multisigs

putting billions of user funds at risk

Here are the reasons why these rollups are ticking timebombs,

waiting to go up in flames🧵👇 Image
2/25
Primary factor hindering #blockchain's widespread adoption & competition with Web2 solutions is its lack of scalability

Currently, #blockchains are in a phase where they are exploring ways to scale

while maintaining decentralization & security

That's where rollups come in Image
3/25
Rollups are L2 solutions designed to improve blockchain performance & capacity

by processing transactions off-chain,

"THEORETICALLY" utilizing the security & #decentralization of L1 protocols

This is why #Ethereum developers have completely shifted their focus to rollups Image
Read 27 tweets

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3/month or $30/year) and get exclusive features!

Become Premium

Don't want to be a Premium member but still want to support us?

Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal

Or Donate anonymously using crypto!

Ethereum

0xfe58350B80634f60Fa6Dc149a72b4DFbc17D341E copy

Bitcoin

3ATGMxNzCUFzxpMCHL5sWSt4DVtS8UqXpi copy

Thank you for your support!

Follow Us!

:(