Block Size | Block Speed | Gas price | Patchset | Native token | Network ID |
12,500,000 Gas | 5 sec | 1 GWei | Istanbul | xDai | 100 |
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/xdai/mainnet
2) AnyBlock Analytics Explorer is convenient for exploring recent transactions and blocks and locating common information quickly.
👉 https://explorer.anyblock.tools/ethereum/xdai/mainnet/
Main RPC is a load balancer with 4 nodes, health checks, and failover.
Resource | URL |
JSON RPC endpoint | (alternative) https://xdai.poanetwork.dev |
WebSockets WSS endpoint | (alternative) wss://xdai.poanetwork.dev/wss |
Resource | URL | |
JSON RPC endpoint over HTTP (non-secure) | | |
JSON RPC endpoint via Cloudflare | | |
WebSockets WS (non-secure) | | |
Archive node | | |
Network ID (Decimal, Hexadecimal) | 100 | 0x64 |
🚀 QuikNode also supports xDai. Devs can get their own custom endpoint for DApps or other needs. https://blog.quiknode.io/xdai-network-is-live-on-quiknode/
⚓ Ankr offers API endpoint access available with a free tier up to 100K requests/day. Additional paid tiers are available for developers. https://www.ankr.com/
Eth Wiki: https://eth.wiki/json-rpc/API
BlockScout info
GraphQL: https://blockscout.com/poa/xdai/graphiql
If using eth_getLogs
to pull logs frequently WebSockets are recommended to push new logs as available.
There are two bridge implementations connecting xDai and the Ethereum Mainnet.
****xDai Bridge: ERC20-to-Native TokenBridge implementation, used for transferring Dai <-> xDai between Ethereum and the xDai chain.
****ETH-xDai Arbitrary Message Bridge: AMB between Ethereum and xDai for data, token and message transfers. Includes the Ominibridge application for transfer of any ERC20 cross-chain.
xDai Bridge UI at https://dai-bridge.poa.network
Interaction using method calls for smart contracts https://docs.tokenbridge.net/xdai-bridge/how-to-use-xdai-bridge-without-ui
Bridge UI is built-in into AlphaWallet, BurnerWallet, BurnerFactory and other applications.
OmniBridge UI. More information including method calls here.
See the dropdown menu under Developer Resources and Tools for related tutorials.
Biconomy allows for gasless transactions and improved DApp UX.
TheGraph supports xDai data indexing, querying and display.
QuikNode gives users a super-fast Web3 endpoint for accessing or interacting with the xDai chain.
Ankr offers xDai API endpoint access available with a free tier up to 100K requests/day and additional paid tiers.
Pocket provides a decentralized API layer for DApp developers (IOS, Android & Web SDKs available) and blockchain users.
CurveGrid MultiBaas provides smart contract deployment, interaction and updating capabilities through a web UI as well as a comprehensive REST API.
3Box: Externally Owned Account (EOA) addresses are the same on xDai as they are on other EVM networks, so no changes are needed to implement 3box functionality.
BlockNative supports real-time notification & transaction monitoring with API and SDK tools.
Sourcify Smart Contract Source Verification. Contracts can also be verified with BlockScout.
Remix IDE: It's easy to deploy to xDai with Remix, simply choose injected web3 and add the xDai custom RPC to your metamask.
OpenZeppelin Defender: Manage smart contract administration including access controls, upgrades, and pausing. Works with Gnosis Safe Multisig.
Chainlink: xDai Price Feeds integration.
Dune Analytics: Dune supports xDai for data queries and custom dashboards. Visualize and compare data between contracts and chains (xDai and Ethereum support). Existing Dashboards:
Tenderly dashboard supports xDai transaction inspection - smart contracts can also be pushed to the dashboard for real-time monitoring.
Chainbeat provides monitoring and analytics tools for DApp developers.
Dappquery analytics dashboard, customizable visualizations, smart contract alerts and scalable GraphQL API.
xDai Faucet
https://blockscout.com/xdai/mainnet/faucet An xDai faucet to quickly get .01 xDai and start using the chain right away!
Test Token Faucets
Token faucet allows you to easily create ERC20 FAU tokens for testing purposes.
Weenus ERC20 is also available to use for testing purposes.
General Migration Guide: A fun and easy xDai migration guide from DAOHaus: https://medium.com/daohaus-club/daohaus-xdai-dapp-migration-83dca1fc590a
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/