Staging preview. Production is not changed until promoted.

docs.blockdag.works

BlockDAG developer docs.

Everything builders need to connect wallets, call the public RPC, inspect the explorer, and prepare contracts for validation.

Start here

Connect an app, check the RPC, then use the explorer.

This page is the public reference for BlockDAG chain settings, supported JSON-RPC methods, quick read tests, starter contracts, and validation flow.

Public configuration

Network details

RPC URLhttps://rpc.blockdag.worksUse for wallet connections, reads, and transactions when the network is ready.
Chain ID1404Hex: 0x57c
CurrencyBDAGNative gas token
Explorer URLexplorer.blockdag.worksBlocks, transactions, and addresses.
Chain JSON/chain.jsonMachine-readable wallet config.
Public RPCProtectedUse caching and retries in production apps.

RPC support

Enabled methods

  • eth_chainId
  • net_version
  • web3_clientVersion
  • eth_blockNumber
  • eth_getBalance
  • eth_getTransactionCount
  • eth_call
  • eth_getCode
  • eth_estimateGas
  • eth_gasPrice
  • eth_maxPriorityFeePerGas
  • eth_feeHistory
  • eth_getStorageAt
  • eth_sendRawTransaction
  • eth_getTransactionReceipt
  • eth_getTransactionByHash
  • eth_getBlockByNumber
  • eth_getBlockByHash
  • eth_getBlockTransactionCountByHash
  • eth_getBlockTransactionCountByNumber
  • eth_getTransactionByBlockHashAndIndex
  • eth_getTransactionByBlockNumberAndIndex

Quick tests

Read calls

curl https://rpc.blockdag.works/ \
  -H 'content-type: application/json' \
  --data '{"jsonrpc":"2.0","id":1,"method":"eth_chainId","params":[]}'

curl https://rpc.blockdag.works/ \
  -H 'content-type: application/json' \
  --data '{"jsonrpc":"2.0","id":1,"method":"eth_blockNumber","params":[]}'

Contract examples

Starter templates

Open wizard
  • Simple storage Hello Storage A minimal owner-controlled storage contract for first deployments. Use only as a learning contract.
  • Token ERC20 Mintable Mintable ERC20 token with an owner-controlled mint function. Decide and publish minting policy before community launch.
  • Capped token ERC20 Capped Burnable ERC20 with capped supply, burn support, and controlled minting. The cap is enforced in token units; confirm decimals and cap before deploy.
  • NFT ERC721 Collection Owner-mintable NFT collection with per-token URI storage. Use a durable metadata host before public minting.
  • Game items ERC1155 Items Multi-token collection for game items, passes, or editions. Plan token ids and metadata URI format before minting.
  • Admin control Ownable Pausable A small admin-controlled contract with pause and unpause controls. Publishing admin powers clearly avoids community confusion.
  • Token vesting Vesting Wallet OpenZeppelin vesting wallet wrapper for team or community allocations. Confirm beneficiary, start, and duration; mistakes are hard to unwind.
  • Rewards Simple Staking Rewards A compact staking rewards starter using ERC20 stake and reward tokens. Reward math, emissions, and funding need audit before real value.
  • Airdrop Merkle Airdrop Merkle proof distributor for community allocations. Root generation and claim list publication must be reproducible.
  • Marketplace Fixed Price Marketplace Simple ERC721 fixed-price listing and purchase flow. This is a starter; add fees, cancellation edge cases, and audit before production.

Contract validation

Community verification process

Validate contract
1. DeployDeploy with Remix, Hardhat, or Foundry when the network is ready.
2. Submit sourcePaste address, compiler version, optimizer settings, constructor args, and source.
3. Check bytecodeThe validator calls eth_getCode to confirm code exists at the address.
4. Generate packageDownload or copy a source hash package for review and future indexing.