Think in Coin | DEV Docs
  • Develop Documents
  • Networks
    • Fantom Network
      • quick-start
        • Short Guide
      • technology
        • Lachesis aBFT
        • Overview
        • Proof of Stake
        • Transaction Fees
        • FAQ
      • staking
        • Quick start
        • Overview
        • Stake on Fantom
        • Run a Validator Node
        • Run a Read-only node
        • Run a Testnet Validator
        • Troubleshooting
      • api
        • Public API endpoints
        • Getting Started
        • Installation
        • GraphQL Schema Basics
        • Schema Structure
        • Implementation Details and Notes
        • Covalent indexing and querying API
      • tutorials
        • Set up Metamask
        • Set up Metamask (testnet)
        • Deploy a Smart Contract
        • Create a Fixed-cap Asset
    • xDAI Chain
      • Welcome to xDai
      • untitled
        • About xdai
          • Projects & DApps
          • Features
          • Use Cases
          • News & Information
          • Roadmaps
          • FAQs
        • For users
          • xDai Token
          • Getting Started with xDai
          • Bridges
          • Wallets
          • Applications
          • Block Explorers
          • Governance
        • For stakers
          • STAKE Token
          • Staking on xDai
          • EasyStaking on Ethereum
          • POSDAO Staking Roadmap
        • For developers
          • Developer Resources & Tools
          • On-Chain Random Numbers
          • Install xDai Client - Run a Non-Validator Node
          • Stable Chain Network Deployment
          • Grants for building on xDai
          • Immunefi Bug Bounty
        • For validators
    • Polygon Network
      • About - Polygon
      • Technology
    • Huobi HECO Chain
      • Huobi Open Platform
    • Binance Chain
      • Create Address
      • Fees
      • Governance
      • Threshold Signature Scheme
      • Atomic Swap
      • WalletConnect
      • Wallets Support
        • WalletConnect Support
        • Trust Wallet User Guide
        • Ledger Wallet Guide
        • Trezor Wallet Guide
        • How to manage BEP8 token with Web Wallet
      • BEP8 Token Protocol
      • Binance DEX Trading
      • Binance Chain Testnet
      • Exchange Integration
      • List Instructions
    • Binance Smart Chain
      • Concepts
        • Consensus
        • Comparison
        • Genesis File
        • BC > BSC Cross-Chain
          • Mechanism
          • Cross-Chain Transfer
          • BSC Relayer
          • Oracle Module
          • Oracle Relayer
          • Relayer incentives
        • Build-in System Contract
        • Governance
      • Ecosystem
      • Gnosis
      • Binance Bridge
        • Release
        • Roadmap
        • User Guides
        • Developer
          • Widget
          • Swagger API reference
        • Partnership
        • Support
          • Customer Support
        • guides
          • Binance Bridge v2
          • Binance Bridge v1
          • Supported Assets
          • Buy BNB as Gas
    • Ethereum (ERC)
      • Ether - Introduction
        • The Ethereum Foundation
        • Community
        • History of Ethereum
        • The Homestead Release
        • What is Ethereum?
        • A platform for decentralized apps
      • The Ethereum network
        • Connecting to the Network
        • Test Networks
      • Mining
      • Contracts and Transactions
        • Account Types, Gas, and Transactions
        • Contracts
        • Accessing Contracts and Transactions
        • Dapps
        • Mix
          • Project Editor
          • Scenarios Editor
          • State Viewer
          • Transaction Explorer
          • JavaScript console
          • Transaction debugger
          • Dapps deployment
          • Code Editor
        • Ethereum Tests
          • Blockchain Tests
          • State Tests
        • Web3 Base Layer Services
    • Harmony ONE
      • developers
        • Getting Started
        • Network & Faucets
        • Deploying on Harmony
        • SDK
        • API
        • Wallets
        • Tools
        • Showcases
        • Hackathon & Bounties
        • Learn
      • network
        • Governance
        • Holders
        • Validators
        • Delegators
      • general
        • Grants
        • Introduction
          • What is Harmony?‌
          • Roadmap
          • Strategy & Architecture
          • Study Materials
          • FAQ
        • Technology
        • Horizon Bridge
        • DApps
        • Ecosystem
        • Community
    • TRON Network (TRC)
      • Introduction
      • Tron Protocol
        • Account
        • Resource Model
        • Super Representatives
          • Mechanism
          • Step to become a Candidate
          • Committee and Proposal
        • Transaction
        • Multi-Signature
          • Example Process Flow
        • Concensus
        • untitled
          • Build transaction locally
      • TRX AND TRC TOKEN
        • TRX
          • TRX Transfer
          • Query TRX balance
        • TRC-10
          • Issue TRC-10 token
          • Participate TRC-10
          • TRC-10 Transfer
          • Query TRC-10 balance
          • TRC-10 Transfer in Smart Contracts
          • Other TRC-10 Interfaces
        • TRC-20
          • Protocol Interface
          • Issuing TRC-20 tokens tutorial
          • TRC-20 Contract Interaction
        • TRC-721
  • Community
    • Github
    • Telegram DEVs
Powered by GitBook
On this page
  • General Information
  • Blockchain Explorer
  • JSON RPC endpoints
  • Additional resources to connect to xDai network
  • JSON-RPC Method Info
  • POSDAO Contracts
  • TokenBridge
  • Dashboards & Monitoring
  • Token Faucets
  • Additional Resources

Was this helpful?

  1. Networks
  2. xDAI Chain
  3. untitled
  4. For developers

Developer Resources & Tools

PreviousFor developersNextOn-Chain Random Numbers

Last updated 2 years ago

Was this helpful?

General Information

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.

👉 ​

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

👉 ​

JSON RPC endpoints

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

Additional resources to connect to xDai network

🚀 QuikNode also supports xDai. Devs can get their own custom endpoint for DApps or other needs. ​

​⚓ Ankr offers API endpoint access available with a free tier up to 100K requests/day. Additional paid tiers are available for developers. ​

​⏹ GetBlock.io provides fast and easy API connection services to an xDai archive node. Both free and paid levels available. ​

​🌎 AnyBlock Analytics provides a JSON-RPC professional service for users. As xDai validators, they have a deep understanding of the network as well as the broader Ethereum ecosystem. ​

JSON-RPC Method Info

If using eth_getLogsto pull logs frequently WebSockets are recommended to push new logs as available.

POSDAO Contracts

TokenBridge

There are two bridge implementations connecting xDai and the Ethereum Mainnet.

xDai Bridge Access

    • Bridge UI is built-in into AlphaWallet, BurnerWallet, BurnerFactory and other applications.

OmniBridge Access

  • See the dropdown menu under Developer Resources and Tools for tutorials related to many of these tools.

Dashboards & Monitoring

    • *

Token Faucets

xDai Faucet

Test Token Faucets

Tenderly Dashboard Gas Profiler example

Additional Resources

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

  • ​

POSDAO consensus is implemented in Solidity. Proxy contracts should be read for values such as generated by the protocol. A list of current contracts is .

****: ERC20-to-Native TokenBridge implementation, used for transferring Dai <-> xDai between Ethereum and the xDai chain.

****: AMB between Ethereum and xDai for data, token and message transfers. Includes the Ominibridge application for transfer of any ERC20 cross-chain.

​ allows for gasless transactions and improved DApp UX.

​ supports xDai data indexing, querying and display.

​ gives users a super-fast Web3 endpoint for accessing or interacting with the xDai chain.

​ offers xDai API endpoint access available with a free tier up to 100K requests/day and additional paid tiers.

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

​ provides smart contract deployment, interaction and updating capabilities through a web UI as well as a comprehensive REST API.

​: 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.

​ supports real-time notification & transaction monitoring and mempool streaming with API and SDK tools.

​ Smart Contract Source Verification. Contracts can also be verified with ​

​ lightweight javascript library - can be used as an alternative to for simple application development.

​: It's easy to deploy to xDai with Remix, simply choose injected web3 and add the .

​ Manage smart contract administration including access controls, upgrades, and pausing. Works with Multisig.

​: xDai Price Feeds integration.

​: Dune supports xDai for data queries and custom dashboards. Visualize and compare data between contracts and chains (xDai and Ethereum support). Existing Dashboards:

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

​ provides monitoring and analytics tools for DApp developers.

​ analytics dashboard, customizable visualizations, smart contract alerts and scalable GraphQL API.

​ An xDai faucet to quickly get .01 xDai and start using the chain right away!

​ allows you to easily create ERC20 FAU tokens for testing purposes.

​ is also available to use for testing purposes.

General Migration Guide: A fun and easy xDai migration guide from DAOHaus: ​

GasRelay tutorial by Portis. With a few lines of code, gas fees are shifted to DApp owners rather than users, creating an intuitive user experience. ​

Archive Fullnode Endpoint (Useful for setting up BlockScout for xDai) ​

Netstats, an overview of xDai Chain nodes ​

Anyblock Index (aka ), so you can query it via the Elasticsearch API or search in PostgreSQL: ​

https://blockscout.com/xdai/mainnet
https://explorer.anyblock.tools/ethereum/poa/xdai/
https://blog.quiknode.io/xdai-network-is-live-on-quiknode/
https://www.ankr.com/
https://getblock.io/nodes/stake
https://www.anyblockanalytics.com/json-rpc
Random Numbers
available here
xDai Bridge
ETH-xDai Arbitrary Message Bridge
Biconomy
TheGraph
QuikNode
Ankr
Pocket
CurveGrid MultiBaas
3Box
BlockNative
Sourcify
BlockScout.
Ethers.js
web3.js
Remix IDE
xDai custom RPC to your metamask
OpenZeppelin Defender:
Gnosis Safe
Chainlink
Dune Analytics
Tenderly
Chainbeat
Dappquery
https://blockscout.com/xdai/mainnet/faucet
Token faucet
Weenus ERC20
https://medium.com/daohaus-club/daohaus-xdai-dapp-migration-83dca1fc590a
https://docs.portis.io/#/gas-relay
https://dai-trace-ws.blockscout.com
http://dai-netstat.poa.network
http://eth.events
https://account.anyblock.tools/status/