Acyclic Graph

An acyclic graph is a graph-based data structure in which no sequence of edges forms a closed loop – that is, there is no way to start at a given node, follow directed edges, and return to the same starting node. In the context of cryptocurrency and distributed ledger technology, the term almost exclusively refers to Directed Acyclic Graphs (DAGs), which represent a fundamentally different approach to organizing transaction data compared to the linear, sequential block-and-chain architecture pioneered by Bitcoin.

In a traditional blockchain, transactions are grouped into blocks that are linked sequentially – each block references exactly one predecessor, forming a single chain. This design creates a bottleneck: only one block can be appended at a time, limiting throughput and requiring all transactions to wait for inclusion in the next block. DAG-based protocols eliminate this bottleneck by allowing each new transaction to directly reference and confirm one or more previous transactions, creating a web-like structure where multiple transactions can be processed and confirmed in parallel.

The mathematical foundation of DAGs ensures that the directed edges between nodes (transactions) never form cycles. This acyclic property is essential for maintaining a consistent ordering of events and preventing paradoxical situations where transaction A confirms transaction B, which in turn confirms transaction A. The topological ordering guaranteed by acyclic graphs allows DAG-based networks to achieve consensus without the rigid block structure that defines traditional blockchains.

Several prominent cryptocurrency projects have built their architectures on DAG principles, including IOTA (using the Tangle), Hedera Hashgraph (using hashgraph consensus), Nano (using block-lattice), and Fantom (which initially used a DAG-based Lachesis protocol before transitioning to a more linear block structure). Each of these implementations leverages the parallel processing capabilities of DAGs to achieve performance characteristics that are difficult or impossible to replicate with linear blockchain designs.

Origin & History

1736: Swiss mathematician Leonhard Euler laid the foundation of graph theory with his solution to the Königsberg Bridge Problem, establishing the mathematical principles that would eventually underpin DAG-based data structures.

1963: Computer scientists formalized the concept of Directed Acyclic Graphs as a data structure for representing dependencies, scheduling problems, and data flow. DAGs became a fundamental tool in computer science for topological sorting, version control systems (like Git), and compiler optimization.

2015: Sergio Demian Lerner published a proposal called DAGCoin, one of the earliest concepts for using a DAG structure as a distributed ledger for cryptocurrency. The paper described a system where each transaction directly validates two previous transactions, eliminating the need for blocks and miners.

2016: IOTA launched the Tangle, the first major cryptocurrency implementation of a DAG. Designed for the Internet of Things (IoT), the Tangle allowed devices to issue feeless microtransactions by requiring each transaction to validate two prior transactions. The IOTA Foundation, co-founded by David Sonstebo, Sergey Ivancheglo, Dominik Schiener, and Serguei Popov, raised approximately $434,511 (1,337 BTC) in a crowd sale.

2015: Nano (originally RaiBlocks, created by Colin LeMahieu) introduced the block-lattice architecture – a unique DAG variant where each account maintains its own blockchain. This design enables instant, feeless transactions by allowing asynchronous updates to individual account chains without waiting for global consensus. Nano

2019: Hedera Hashgraph launched its public mainnet based on the hashgraph consensus algorithm invented by Dr. Leemon Baird. Hashgraph uses a gossip-about-gossip protocol and virtual voting to achieve asynchronous Byzantine Fault Tolerance (aBFT) on a DAG structure, claiming to process over 10,000 transactions per second. Hedera Hashgraph

2019: Fantom launched its Opera mainnet using the Lachesis consensus protocol, a DAG-based asynchronous BFT system. Lachesis enabled near-instant transaction finality by building a DAG of event blocks before periodically outputting finalized blocks to a main chain.

2020-2023: The DAG approach continued to evolve as projects like Avalanche (using a DAG-inspired Snow consensus family) and Kaspa (implementing the GHOSTDAG protocol for proof-of-work DAG mining) demonstrated that DAG principles could be combined with various consensus mechanisms to achieve different performance and security trade-offs.

2024-2026: IOTA 2.0 (Stardust) completed its transition to a fully decentralized DAG-based network, removing the centralized Coordinator that had been criticized since launch. Hedera expanded its enterprise adoption with major partnerships, and DAG research influenced the design of new layer-1 and layer-2 scaling solutions across the cryptocurrency ecosystem.

“The Tangle is not a blockchain – it is the next evolutionary step. By replacing blocks and chains with a graph of transactions, we eliminate miners, fees, and throughput limits.”
Serguei Popov, IOTA Co-founder and Author of the IOTA Whitepaper (2017)

In Simple Terms

  1. Imagine a highway system. A traditional blockchain is like a single-lane road – cars (transactions) must travel one behind the other, and if there’s a traffic jam, everyone waits. A DAG is like a multi-lane highway with multiple on-ramps and off-ramps – cars can merge, split, and travel in parallel, dramatically increasing how many can pass through at once.
  2. Think about how Wikipedia works. Each article links to multiple other articles, and those articles link to still others, forming a web of connections with no circular references. A DAG-based cryptocurrency works similarly – each transaction links to previous transactions, forming a growing web rather than a single chain.
  3. Consider a river delta. A blockchain is like a single river channel flowing in one direction. A DAG is like the delta at the river’s mouth, where the water splits into many smaller channels that all flow toward the sea without looping back. Each channel carries water (transactions) forward independently.
  4. Picture a relay race versus a crowd running a marathon. In a blockchain, transactions are like relay runners – one must finish before the next starts. In a DAG, transactions are like marathon runners – they all move forward simultaneously, each at their own pace, but all heading in the same direction.
  5. It is like building a brick wall. A blockchain lays bricks one row at a time – each row must be finished before the next begins. A DAG is like many bricklayers working on different sections of the wall at the same time, each checking that their section connects properly to earlier sections.

Important: While DAG-based architectures offer significant throughput advantages, they are not universally superior to traditional blockchains. DAGs face unique challenges in achieving decentralized consensus, preventing spam attacks, and ensuring security at low transaction volumes. The optimal architecture depends on the specific use case, security requirements, and decentralization goals of the network.

Key Technical Features

Directed Acyclic Graph Structure

  • Nodes represent individual transactions (or batches of transactions) rather than blocks
  • Edges are directed, meaning they point from newer transactions to older ones they reference
  • The acyclic property guarantees no circular dependencies exist in the transaction graph
  • Topological ordering of the DAG provides a consistent view of transaction sequence
  • The graph width (number of unconfirmed tips) represents the network’s parallelism capacity

How a DAG-Based Cryptocurrency Works

  1. A user creates a new transaction and broadcasts it to the network
  2. The transaction must reference (validate) one or more previous unconfirmed transactions called “tips”
  3. To validate the referenced tips, the new transaction performs a lightweight verification (e.g., checking signatures and balances)
  4. By referencing earlier tips, the new transaction implicitly confirms all transactions those tips referenced, creating a cascading confirmation effect
  5. As more transactions reference the same branch of the DAG, the cumulative weight (confirmation confidence) of earlier transactions increases
  6. Once a transaction’s cumulative weight exceeds a confidence threshold, it is considered confirmed
  7. The network achieves consensus through the organic growth of the DAG rather than through mining or block production

Tip Selection Algorithms

  • Random Walk: IOTA’s original approach, where new transactions randomly walk back through the DAG to select tips for reference, weighting toward more recently confirmed transactions
  • Weighted Random Walk (MCMC): Markov Chain Monte Carlo methods bias tip selection toward transactions with higher cumulative weight, accelerating convergence
  • Heaviest Subtree Selection: Used in some DAG implementations to prioritize the branch of the DAG with the most accumulated work or weight
  • GHOSTDAG/PHANTOM: Protocols that generalize the GHOST (Greedy Heaviest Observed Subtree) rule to DAG environments, used by projects like Kaspa

Block-Lattice Architecture (Nano)

  • Each account in the network maintains its own blockchain (account chain)
  • Send and receive transactions are recorded on the sender’s and receiver’s chains, respectively
  • Account chains update asynchronously, enabling instant transactions without waiting for global consensus
  • Conflict resolution uses Open Representative Voting (ORV), where account holders delegate voting weight to representative nodes
  • This DAG variant achieves sub-second finality with zero transaction fees

Hashgraph Consensus (Hedera)

  • Uses a “gossip-about-gossip” protocol where nodes share not just transactions but the history of how they learned about transactions
  • Virtual voting eliminates the need for actual message-passing votes, reducing bandwidth overhead
  • Achieves asynchronous Byzantine Fault Tolerance (aBFT) – the strongest form of BFT guarantee
  • Transaction ordering is determined by consensus timestamps derived from the gossip history
  • The DAG of gossip events provides a complete audit trail of how consensus was reached

Advantages & Disadvantages

AdvantagesDisadvantages
Parallel Processing: Multiple transactions can be validated simultaneously, removing the single-block bottleneck of linear blockchains and enabling vastly higher throughputLow-Volume Vulnerability: DAG networks require high transaction volume to maintain security; at low volumes, the confirmation process slows and the network may be vulnerable to attack
Feeless or Near-Feeless Transactions: Many DAG implementations (IOTA, Nano) eliminate transaction fees entirely because users contribute validation work instead of paying minersConsensus Complexity: Achieving reliable consensus on a DAG is mathematically more complex than on a linear chain, and many DAG protocols rely on additional mechanisms (coordinators, committees) for security
Scalability by Design: DAG networks theoretically become faster as more participants join, because more transactions mean more parallel validation – the opposite of blockchain congestionCentralization Concerns: Some DAG projects (IOTA’s original Coordinator, Hedera’s Governing Council) have relied on centralized or semi-centralized components to ensure network security
Fast Confirmation Times: Transactions can achieve confirmation in seconds rather than the minutes or hours required by Bitcoin and other PoW blockchainsLimited Smart Contract Support: Most DAG architectures were designed for value transfer and have historically struggled to support complex programmable logic like Ethereum-style smart contracts
Energy Efficiency: DAG networks typically avoid energy-intensive proof-of-work mining, using lighter validation mechanisms that consume orders of magnitude less electricitySpam Attack Surface: Without transaction fees as a natural deterrent, feeless DAG networks must implement alternative anti-spam mechanisms (proof-of-work puzzles, rate limiting)
IoT Compatibility: The lightweight, feeless nature of DAG transactions makes them suitable for machine-to-machine micropayments in Internet of Things applicationsImmature Ecosystem: DAG-based projects have smaller developer communities, fewer tools, and less battle-tested security compared to established blockchain platforms like Bitcoin and Ethereum
No Mining Centralization: The absence of block rewards eliminates the economic incentives that drive mining pool centralization in PoW blockchainsTheoretical vs. Practical Performance: Many DAG performance claims (millions of TPS) are theoretical maximums that have not been consistently demonstrated under real-world adversarial conditions

Risk Management

Network Bootstrap Risk

  • New DAG networks with low transaction volume are vulnerable to attack because the confirmation mechanism depends on subsequent transactions referencing earlier ones
  • Mitigation: implement a coordinator or checkpoint system during the network’s early growth phase (as IOTA did), transitioning to full decentralization as transaction volume grows
  • Monitor network activity metrics and adjust security parameters based on real-time volume

Double-Spend Risk on DAGs

  • The parallel nature of DAGs creates opportunities for conflicting transactions to exist in different branches of the graph simultaneously
  • Mitigation: implement conflict resolution mechanisms such as weighted voting, tip selection bias toward honest branches, or validator committees
  • Nano addresses this with Open Representative Voting; IOTA uses approval weight and finality gadgets

Spam and Network Saturation

  • Feeless DAG networks are natural targets for spam attacks that flood the network with worthless transactions to degrade performance
  • Mitigation: require lightweight proof-of-work for each transaction (IOTA’s adaptive PoW), implement rate limiting per account (Nano’s prioritization queue), or use reputation-based access control
  • Monitor for sudden transaction volume spikes from suspicious addresses

Partition and Eclipse Attacks

  • Network partitions can create isolated DAG segments that diverge, requiring complex reconciliation when the partition heals
  • Eclipse attacks isolate specific nodes from honest peers, feeding them a manipulated view of the DAG
  • Mitigation: maintain diverse peer connections, implement partition detection algorithms, and use checkpointing to limit the scope of potential divergence

Cultural Relevance

The emergence of DAG-based cryptocurrencies represents one of the most significant architectural debates in the blockchain community. The “DAG vs. blockchain” discussion has become a defining cultural divide, with passionate advocates on both sides arguing about the fundamental trade-offs between these two approaches to distributed consensus.

“We are not anti-blockchain. We simply believe that the block-and-chain model is one solution, not the only solution. The DAG is another, and for many use cases, it is the better one.”
Dominik Schiener, IOTA Foundation Co-founder (2019)

The IOTA community, known for its fervent belief in the Tangle’s potential for IoT applications, has been one of the most vocal advocates for DAG technology. The community endured years of criticism during the Coordinator era (when the network relied on a centralized checkpoint mechanism) and celebrated the eventual removal of the Coordinator as a vindication of the DAG approach.

Nano’s community has built a distinct cultural identity around the concept of “doing one thing perfectly” – instant, fee-less value transfer. The phrase “fee-less, instant, green” has become a rallying cry, emphasizing the environmental and user-experience advantages of the block-lattice DAG over energy-intensive proof-of-work chains.

In academic and research circles, DAG consensus has become a highly active area of study. Papers on GHOSTDAG (used by Kaspa), the Snow family of protocols (used by Avalanche), and IOTA’s coordicide have advanced the theoretical understanding of distributed consensus beyond the original Nakamoto consensus model.

The cultural significance of DAG technology extends into the enterprise blockchain space, where Hedera Hashgraph’s Governing Council model – featuring companies like Google, IBM, Boeing, and Deutsche Telekom – represents an attempt to bridge the gap between decentralized technology and corporate governance. This hybrid approach has drawn both praise for its pragmatism and criticism for its departure from the fully permissionless ideals of cryptocurrency.

Real-World Examples

  1. IOTA Tangle for Smart City Infrastructure
  • Scenario: The city of Taipei partnered with the IOTA Foundation to explore using the Tangle for digital identity verification and smart city data marketplaces.
  • Implementation: IOTA’s Tangle DAG was used to create a tamper-proof digital identity system where citizen data could be shared across city services without a central database. Each data access event was recorded as a transaction on the Tangle, with zero fees enabling high-volume micropayments for data access rights.
  • Outcome: The project demonstrated that DAG architecture could handle the high-frequency, low-value data transactions required by IoT-based city infrastructure, where traditional blockchain fees would have made such applications economically unfeasible.
  1. Nano for Feeless Remittances
  • Scenario: Users in countries with limited banking infrastructure (Venezuela, Nigeria, the Philippines) adopted Nano for peer-to-peer remittances due to its zero-fee, instant-settlement properties.
  • Implementation: Nano’s block-lattice DAG architecture enabled users to send any amount of value – from fractions of a cent to thousands of dollars – without paying any transaction fees. The sub-second finality meant recipients could access funds immediately, unlike Bitcoin or Ethereum, where waiting for confirmations could take minutes to hours.
  • Outcome: Nano saw significant grassroots adoption in emerging markets, with community-built applications like WeNano creating geographic spots where users could earn free Nano, driving local adoption and demonstrating the real-world utility of feeless DAG-based transactions.
  1. Hedera Hashgraph for Enterprise Supply Chain
  • Scenario: ServiceNow and Avery Dennison used Hedera’s hashgraph-based Consensus Service to track product authenticity in global supply chains.
  • Implementation: Each product received a unique identifier logged on Hedera’s DAG. As products moved through the supply chain – from manufacturer to distributor to retailer – each handoff was recorded as a consensus message on the hashgraph. The DAG’s high throughput (10,000+ TPS) and low fixed fees ($0.0001 per transaction) made it economically viable to track millions of individual items.
  • Outcome: The system provided tamper-proof provenance tracking at a fraction of the cost of traditional blockchain-based solutions, demonstrating that DAG architectures are particularly well-suited for high-volume enterprise applications where per-transaction cost is a critical factor.
  1. Kaspa: Proof-of-Work DAG Mining
  • Scenario: Kaspa launched as the first proof-of-work cryptocurrency built on a DAG architecture (using the GHOSTDAG protocol), aiming to combine Bitcoin’s security model with DAG-level throughput.
  • Implementation: Kaspa’s GHOSTDAG protocol allows multiple blocks to be mined simultaneously and coexist in the DAG, rather than orphaning competing blocks as Bitcoin does. Miners produce blocks at a rate of one per second, with the GHOSTDAG ordering algorithm resolving the sequence of all parallel blocks into a consistent linear ordering for transaction processing.
  • Outcome: Kaspa demonstrated that DAG principles are compatible with proof-of-work consensus, achieving 1 block per second with 32 BPS (blocks per second) throughput while maintaining the decentralization and security properties valued by the PoW community. The project attracted significant mining interest as a novel approach to scaling PoW.

Comparison Table

FeatureDAG (IOTA Tangle)Block-Lattice (Nano)Hashgraph (Hedera)Traditional Blockchain (Bitcoin)
StructureTransaction graph (each tx references 2+ tips)Per-account blockchains (send/receive pairs)Gossip event DAG with virtual votingLinear chain of blocks
ConsensusApproval weight + finality gadgetOpen Representative Voting (ORV)aBFT via gossip-about-gossipProof-of-Work (Nakamoto consensus)
Transaction FeesZeroZeroFixed ($0.0001)Variable ($1-$50+)
Finality Time5-10 secondsSub-second (< 1s)3-5 seconds~60 minutes (6 confirmations)
Throughput (TPS)~1,000 (current)~200+ (practical)10,000+~7
Energy ConsumptionVery low (no mining)Very low (no mining)Very low (no mining)Extremely high (PoW mining)
Smart ContractsIOTA Smart Contracts (ISC)Not supportedHedera Smart Contract Service (EVM)Limited (Bitcoin Script)
DecentralizationHigh (post-Coordinator)High (ORV delegation)Medium (Governing Council nodes)Very high (thousands of miners)

Frequently Asked Questions

What is a Directed Acyclic Graph in cryptocurrency?

A Directed Acyclic Graph (DAG) in cryptocurrency is an alternative data structure to the traditional blockchain where transactions are organized as a web of interconnected nodes rather than a linear chain of blocks. Each new transaction validates one or more previous transactions, creating a directed graph with no circular references. This structure enables parallel transaction processing, higher throughput, and in many implementations, zero or near-zero transaction fees.

How is a DAG different from a blockchain?

A blockchain organizes transactions into sequential blocks linked in a single chain, where only one block can be added at a time. A DAG allows multiple transactions to be added in parallel, with each new transaction directly referencing and confirming previous ones. This fundamental structural difference gives DAGs higher theoretical throughput, faster confirmations, and the ability to eliminate transaction fees, but introduces additional complexity in achieving consensus and preventing double-spends.

Which cryptocurrencies use DAG technology?

Major cryptocurrency projects using DAG-based architectures include IOTA (Tangle), Nano (block-lattice), Hedera Hashgraph (hashgraph consensus), Kaspa (GHOSTDAG protocol), and Fantom (Lachesis protocol, though it later shifted toward linear blocks). Avalanche’s Snow consensus family is also DAG-inspired, using a DAG structure for its X-Chain. Each project implements the DAG concept differently, optimizing for different use cases.

Are DAG-based cryptocurrencies more scalable than blockchains?

DAG architectures are theoretically more scalable because they allow parallel transaction processing – as more users join and transact, more transactions are validated simultaneously, potentially increasing throughput. However, practical scalability depends on many factors including network conditions, consensus mechanism overhead, and node hardware requirements. No DAG project has yet demonstrated millions of TPS under real-world adversarial conditions, and traditional blockchains have improved scalability through layer-2 solutions.

 Why do some DAG networks have no transaction fees?

In DAG networks like IOTA and Nano, transaction fees are eliminated because users contribute to network security by validating previous transactions when they submit their own. Instead of paying miners or validators, each user performs a small amount of computational work (in IOTA’s case) or delegates voting power (in Nano’s case). This self-sustaining model removes the need for fee-based incentives but requires alternative anti-spam mechanisms.

What are the security risks of DAG-based cryptocurrencies?

Key security risks include vulnerability at low transaction volumes (when few transactions reference earlier ones, confirmation is slow and attacks are easier), spam flooding (feeless networks can be overwhelmed), partition attacks (network splits can create divergent DAG branches), and the theoretical complexity of DAG consensus (which has received less academic scrutiny and battle-testing than traditional blockchain consensus). Some DAG projects have mitigated these risks through centralized coordinators or validator committees.

Can DAG-based cryptocurrencies support smart contracts?

Can DAG-based cryptocurrencies support smart contracts?
Support varies by project. IOTA has developed IOTA Smart Contracts (ISC), which run on layer-2 chains anchored to the Tangle. Hedera offers a full EVM-compatible smart contract service. Fantom’s Opera chain supports Solidity smart contracts. Nano intentionally does not support smart contracts, focusing solely on value transfer. Generally, adding smart contract functionality to a DAG architecture is more complex than on a blockchain, but several projects have successfully implemented it.

Check your own numbers

The Free UEEx Calculator returns liquidation price, margin usage and fees for any position size

UEEx Weekly Digest

Market analysis and security alerts, read by 10,000 traders