Bet on 2020 U.S. Presidential Election Outcome

Using the xDAI Network

With gas prices skyrocketing over 200 Gwei, the betting transaction may cost $5 on the Ethereum Network. Ethereum 2.0 is not here yet, but you can use the xDAI Network and pay $0.0001 for the transaction.

The xDAI Network us a Proof of Authority blockchain compatible with Ethereum. We have deployed the same Smart Contracts to the xDAI network at the same addresses, by repeating the same deployment steps in the same order, allowing the deterministic Contract address calculation to repeat itself. You can see for yourself the same contracts including their source code (on Ethereum: election2020, betOnBiden and betOnTrump) are deployed on the xDAI network: election2020, betOnBiden and betOnTrump (note the order of the contracts and functions in the source code of the last two contracts may not be the same, which is irrelevant).

To transfer ETH from the Ethereum Network to xDAI on the xDAI network:

  1. Convert ETH to DAI (US$ pegged stablecoin) use Uniswap.
  2. Transfer DAI from the Ethereum Network to xDAI on the xDAI network using xDAI Bridge.

If you are betting by paying to the contracts betOnBiden and betOnTrump you can use the same addresses and QR-codes from here:

You can use differrent wallets, but here are some with instructions:

If you are betting by using Web3 injector like Metamask use this:

Here are some guidelines:

  1. Setup Metamask to connect to the xDAI Network here.
  2. Go here, select xDAI network in Metamask and connect. All bets will be made using xDAI to the appropriate contracts.
  3. Don't worry, you cannot make a mistake by paying to the wrong contract. The addresses are the same on the Ethereum and the xDAI networks, so selecting xDAI Network on Metamask gets you to the right place. Even if you select Ethereum network by mistake, you would not have any xDAI to process the transation, and conversely you would have no ETH on the xDAI network to make a mistake with.

Good luck with your predictions!