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 support
Enabled methods
eth_chainIdnet_versionweb3_clientVersioneth_blockNumbereth_getBalanceeth_getTransactionCounteth_calleth_getCodeeth_estimateGaseth_gasPriceeth_maxPriorityFeePerGaseth_feeHistoryeth_getStorageAteth_sendRawTransactioneth_getTransactionReceipteth_getTransactionByHasheth_getBlockByNumbereth_getBlockByHasheth_getBlockTransactionCountByHasheth_getBlockTransactionCountByNumbereth_getTransactionByBlockHashAndIndexeth_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
- 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
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.