Developer Resources & Tools

General Information and Links

General Information

Block Size

Block Speed

Gas price

Patchset

Native token

Network ID

12,500,000 Gas

5 sec

1 GWei

Istanbul

xDai

100

Blockchain Explorer

1) BlockScout is the official blockchain explorer for the xDai Chain. With this full-featured, open-source explorer you can view transactions, accounts & balances, access data via the API, and read and verify smart contracts.

👉 https://blockscout.com/poa/xdai

2) AnyBlock Analytics Explorer is convenient for exploring recent transactions and blocks and locating common information quickly.

👉 https://explorer.anyblock.tools/ethereum/poa/xdai/

JSON RPC endpoints

Main RPC is a load balancer with 4 nodes, health checks, and failover.

Resource

URL

JSON RPC endpoint

https://xdai.poanetwork.dev

WebSockets WSS endpoint

wss://xdai.poanetwork.dev/wss

Additional resources to connect to xDai network

Resource

URL

JSON RPC endpoint over HTTP (non-secure)

http://xdai.poanetwork.dev

JSON RPC endpoint via Cloudflare

https://dai.poa.network

WebSockets WS (non-secure)

ws://xdai.poanetwork.dev:8546

Archive node

https://xdai-archive.blockscout.com

Network ID

100

TokenBridge

A bridge is required to move locked Dai from Ethereum and mint xDai on xDai Chain

You can access the bridge via:

DApp Management & Developer Tools

  • Biconomy allows for for gasless transactions and improved DApp UX.

  • Pocket provides a decentralized API layer for DApp developers (IOS, Android & Web SDKs available) and blockchain users.

  • TheGraph supports xDai data indexing, querying and display.

  • Chainbeat provides monitoring and analytics tools for DApp developers.

  • BlockNative supports real-time notification monitoring with API and SDK tools.

  • Token faucet allows you to easily create ERC20 FAU tokens for testing purposes

  • Tenderly dashboard supports xDai transaction inspection - smart contracts can also be pushed to the dashboard for real-time monitoring.

Tenderly Dashboard Gas Profiler example

Additional resources

Tutorial on how to use GasRelay in your Dapp by Portis. With a few lines of code, gas fees are shifted to DApp owners rather than users, creating an intuitive user experience. https://docs.portis.io/#/gas-relay

WebSockets Endpoint (can be useful to setup BlockScout for xDai) wss://dai-trace-ws.blockscout.com/ws

Archive Fullnode Endpoint (Useful for setting up BlockScout for xDai) https://dai-trace-ws.blockscout.com

Chain spec files and known bootnodes of the xDai network https://github.com/poanetwork/poa-chain-spec/tree/dai

Netstats, an overview of xDai Chain nodes http://dai-netstat.poa.network

DApps Deployed to xDai: Partial list of deployed DApps along with statistics and links: https://www.stateofthedapps.com/rankings/platform/xdai

xDai is available in the Anyblock Index (aka http://eth.events), so you can query it via the Elasticsearch API or search in PostgreSQL: https://account.anyblock.tools/status/