
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 EVM Compatible : Solidity contracts work here Chain ID : 1404 RPC : https://rpc.primordial.bdagscan.com WebSocket : wss://rpc.bdagscan.com/ Explorer : https://primordial.bdagscan.com Add to MetaMask Network: BlockDAG Mainnet RPC URL: https://rpc.primordial.bdagscan.com Chain ID: 1404 Symbol: BDAG 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! } } 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 : ' et
Continue reading on Dev.to Tutorial
Opens in a new tab


