DEV Community

999DEX
999DEX

Posted on

What is BlockDAG? The EVM L1 Blockchain Developers Should Know

What is BlockDAG? The EVM L1 Blockchain Developers Should Know

BlockDAG is an EVM-compatible Layer 1 blockchain using DAG (Directed Acyclic Graph) technology. Here is a concise developer overview.

Core Properties

Add to MetaMask

Network: BlockDAG Mainnet
RPC URL: https://rpc.primordial.bdagscan.com
Chain ID: 1404
Symbol: BDAG
Enter fullscreen mode Exit fullscreen mode

Critical: EVM Target

BlockDAG targets Berlin, not Shanghai/Cancun. The PUSH0 opcode is NOT supported.

// hardhat.config.js
solidity: {
  version: "0.8.20",
  settings: {
    optimizer: { enabled: true, runs: 200 },
    evmVersion: "berlin"  // required!
  }
}
Enter fullscreen mode Exit fullscreen mode

This is the most common mistake when deploying on BlockDAG.

WebSocket Real-Time

const ws = new WebSocket('wss://rpc.bdagscan.com/');
ws.on('open', () => ws.send(JSON.stringify({
  jsonrpc: '2.0',
  method: 'eth_subscribe',
  params: ['newHeads'],
  id: 1
})));
Enter fullscreen mode Exit fullscreen mode

What Exists on BlockDAG

The ecosystem is early. Currently live:

  • 999DEX (999dex.com) — First native DEX. AMM trading, bonding curve token launcher, Contract Studio (no-code contract deployment), and staking.

33+ tokens trading, 15 smart contracts deployed.

Why Build Here?

  1. First mover — infrastructure gaps are opportunities
  2. Low gas fees
  3. Full EVM compatibility

Resources


Independent developer overview. Not affiliated with BlockDAG Network Labs.

Top comments (0)