There is a lot to know about xDai, so we've split the website into several sections, depending on your role and what you info you might need to access.
About xDai: General features, overview, latest news and information designed for new users or those who want to learn more about xDai.
For Users: If you want to transact with xDai, use xDai DApps or wallets.
For Stakers: If you want to delegate STAKE on chain and earn rewards, or become a validator candidate. This section is related to xDai consensus and the STAKE token, which protects the chain.
For Developers: If you want to build on xDai, all the resources you need are in this section.
For Validators: This section is geared towards validators - setting up and running a node, bridge validator info, and other information. This section will change as the chain transforms to public validation.
Contact & Media: To reach us, or gather assets for interviews.
The xDai development team is made up of an experienced group of long-time blockchain & sidechain developers.
Users are worldwide, from crypto veterans to first-time users.
xDai is the name of the stablechain and the stable native coin that lives on the chain.
The xDai chain is an Ethereum-based stable sidechain implementing a dPOS consensus called POSDAO.
The xDai Stable Chain has been live since October, 2018.
POSDAO (Proof-of-Stake) consensus for selected validators was implemented April 1, 2020.
Decentralized public staking with the STAKE token is coming Q3 2020.
More on xDai'sPast
More on xDai's Future
xDai is a stablechain located within the vast Ethereum ecosystem. xDai users are located around the world, from small gatherings, to 1000+ participant conferences, to networks of villages in Kenya.
Connecting to xDai:
Network ID: 100
Primary RPC: https://xdai.poanetwork.dev/
Burner Wallet: https://xdai.io
xDai exists to support stable payments and digital cash transactions. Whereas Ethereum transaction costs are unpredictable, subject to congestion, and require several tokens (for example DAI + Eth for gas), xDAi transactions are fast, very inexpensive, and require a single token (xDai).
xDai also supports a decentralized, earth-friendly architecture with POSDAO consensus and the STAKE consensus staking token.
BlockScout is a full-featured, open-source explorer that supports xDai. It lets you explore all transactional aspects on chain.
We are fortunate to have the support of quite a number of wallets, including some amazing mobile wallets like AlphaWallet, DEX wallet and Poketto, and web wallets like Portis Wallet. You can use MetaMask, and Nifty Wallet and Saturn Wallet are additional web3 wallets similar to MetaMask but containing additional features that natively support xDai. The biggest wallet use case is Burner Wallet - as this is really designed for small, stable payments and for conferences and events. We invite you to check out our wallets page for more information.
Since xDai is an Ethereum-compatible sidechain, you can use the same tools (like Truffle), languages (Solidity) and environments you are used to using with Ethereum. With a few quick tweaks, your DApp can also be running on xDai. See Smart Contract Deployment for details.
Plans are multi-faceted and both short and long term. In the short term, we are focused on building out the public staking interface for POSDAO. This will enable anyone to participate in staking on the xDai chain.
Long-term plans are related to features and updates to our infrastructural assets like TokenBridge & BlockScout, as well as establishing a fund for DApp development and eventual implementation of HoneyBadger BFT into the protocol.
xDai General: https://www.xdaichain.com/about-xdai/roadmap
We are looking at both vertical and horizontal scalability opportunities to ensure xDai can scale as required. With vertical scalability xDai's validators optimize their nodes and apply protocol upgrades to push the limits of technologies. With horizontal scalability additional chains can be launched in the same manner and connected by the TokenBridge protocol. It's our vision of sharding in a realm based manner.
It depends on the type of transaction being sent, for the simplest transactions the xDai chain can process 60 tx/sec.
The bridge is a key element of xDai which allows for interop between xDai and the mainnet. The TokenBridge development team just received Ethereum Ecosystem support program funding to continue with TokenBridge development within the entire ecosystem (not related directly to xDai but the improvements we make will also benefit the xDai chain)
The bridge connects the networks and allows tokens to exist on both sides. If you want some xDai for transactions, you lock Dai in the bridge contract and then mint xDai on the xDai chain. You can use this xDai as digital cash for transactions, and when you are finished, you can burn the remaining xDai and unlock the corresponding amount of Dai. There’s an easy UI for it, and it works quite well to maintain liquidity.
Another extension of the same bridge infrastructure will be used to move STAKE between the mainnet and xDai.
We have contracted 3rd party security firms to conduct comprehensive audits on the xDai consensus, tokens, bridge and underlying architecture. We have resolved any issues they have found, and are committed to ongoing audits and comprehensive testing. However, we cannot anticipate all issues and users must assume risk when using any blockchain technologies.
Based on our research and legal opinions they are not considered securities. However, the regulatory landscape may differ between countries. Please be informed of your local laws when using.
xDai is a stable token, used for transactions. It is bridged from Dai to the xDai chain, and used on the xDai chain for payments and gas fees. 1 xDai = 1 Dai (and 1 Dai = approximately 1 USD)
xDai is created from the stable Dai token - Dai is locked in a bridge contract and the same amount of xDai is minted on the xDai chain. xDai can then be transformed back into Dai using the same bridging mechanism (xDai is burned and Dai is minted on the Ethereum Mainnet).
From another user on the xDai Chain (Wallet transfer, airdrop, payment)
Converting Dai to xDai using the xDai Bridge
Buying xDai directly using Carbon (coming soon)
Imagine every time you needed to pay for lunch you had to use 2 different currencies. On top of that, one of those currencies was not stable, so you didn’t know if you would have to pay an extra $.05 or an extra $.50 in fees for the same $10.00 lunch.🍔
This is what happens every time you use a stablecoin on the Ethereum mainnet. xDai eliminates this issue - transaction fees are stable and very low (500 or so for $.01). Because they are known & low costs, this also enables stable micro-transactions, which is important for contracts and projects who need to plan for application costs.
The xDai stablechain enables digital cash, supporting small denomination transactions for everyday, stable purchases.
The xDai bridge is expandable to include additional forms of collateral on the Ethereum side of the bridge. Currently Dai and Chai are both supported (SAI was also supported prior to the shutdown). More may be added in the future. Additional types of collateral can act to mitigate stability risks.
STAKE is a volatile token used as a staking token to protect the xDai chain. It enables delegated staking and community participation in xDai consensus.
You do not need STAKE to use the xDai chain for regular transactions. You only need STAKE if you want to be a validator or delegator on the xDai chain.
More on the Dual Token Model
From another user on the Ethereum Mainnet (Wallet transfer, airdrop, payment)
From a centralized exchange. STAKE is offered at BitMax and others
From a decentralized exchange. Stake is offered at UniSwap and others.
For a full list see https://www.coingecko.com/en/coins/xdai-stake#markets
The Ethereum Mainnet contract address for STAKE is: 0x0Ae055097C6d159879521C384F1D2123D1f195e6
You may need to add a custom token - Instructions for doing this with MetaMask.
Yes - with EasyStaking on the Ethereum Mainnet.
Public staking is scheduled to start in Q4 2020.
Minimum amounts needed to validate or delegate on the xDai chain.
Validators: 20K STAKE
Delegators: 1K STAKE
You can find information on the STAKE Marketcap and supply here: https://www.coingecko.com/en/coins/xdai-stake
When public POSDAO staking on xDai begins, you will need to move your STAKE to xDai in order to use it there. We will provide detailed instructions as public staking approaches.
ERC677 is very similar to an ERC20, but includes additional functionality. We use the transferandCall functionality to enable easier bridge conversions, moving STAKE from the Ethereum Mainnet to the xDai chain and back.
For more information see the EIP677 standard https://github.com/ethereum/EIPs/issues/677.
xDai is the first developed use-case for STAKE. However, it may be adopted by other chains in the future and used as a staking token for their consensus as well. POSDAO consensus is an algorithm we’ve developed that may be adopted by other chains, and those chains would have the opportunity to also incorporate a ready-made solution with STAKE to protect their chain.
A validator runs a node that verifies transactions and finalizes blocks on the xDai chain. Each validator must provide the minimum STAKE collateral (20K STAKE) into their pool and setup a functional node to participate. They start as candidates, and have the chance to become validators each week when a new validator set is chosen.
The max number of validators in a validator set is 19. This is called a validator set and is chosen each week from the group of validator candidates.
The maximum number of candidates is 3000.
If there are more than 19 suitable candidates, the top 19 are chosen based on the total amount of stake in their pool + a random number.
A delegator is a STAKE holder who places STAKE in a validator candidates pool. If that candidate becomes a validator, the delegator also receives rewards. By placing STAKE, delegators vote on the candidates they think will make the best validators. 1K minimum delegation per validator candidate.
A staking epoch is 1 week.
A UI is in process that will allow delegators and validators to easily manage their STAKE tokens. For more info, see the Staking Operations section.
Rewards are automatically distributed at the end of a staking epoch to active validators and delegators.
See the rewards in a dual token environment post for more information. As a validator, you will always receive at least 30% of your pool's rewards, and more if delegators contribute less than 70% to the pool. Rewards are based on how much STAKE is staked in the protocol as well as chain-based activity (stable rewards come from bridge fees and transactions, as well as Chai based rewards from DAI locked in the bridge). Staking rewards will accumulate at 15% APR based on the locked amount.