# Betonchain Frontend

Betting with our contracts is frontend-agnostic, [betonchain.gg](https://betonchain.gg) is just to provide progressive onboarding with a unified, trustworthy and data-rich UI/UX for both seasoned and casual bettors.

This frontend can be cloned and hosted decentrally on IPFS or Arweave. No user data is stored in a backend database and all displayed metrics are publically viewable and called directly from the official smart contracts. Users are encouraged to use Etherscan to validate metrics themselves. By using this frontend to interact with the official contracts and place bets, users commit to have accepted our [Terms of Service](/resources/terms-of-service.md).

### Fantasy

Accessible, secure, and trustless on-chain **Fantasy contests are mobile-only**.&#x20;

Our Progressive Web DApp (PWDA) is dedicated to fantasy sports and features embedded wallet generation and convenient user authentication flows. Real-time player chats and leaderboards are also available in the app.

{% hint style="success" %}
**To install the app, visit** [**https://betonchain.gg/**](https://betonchain.gg/) **from your mobile device.**&#x20;
{% endhint %}

### Sports

Odds can be displayed as American, Decimal or Implied Probabilties. This user supplied odds format is cached to persist through other components like pending/closed bet data. A countdown timer is displayed to inform when betting will be opened and closed for a game.

**Total Volume Across Currencies** is for all available bet positions (besides parlays which are [collateralized separately](/platform-reference/bookmaker-protocol-to-decentralize-the-house-edge.md#providing-liquidity)).

**Juice Removed Implied Probabilities**

For example, a 2 position moneyline market with HOME (H) and AWAY (A) outcomes would have the following no-juice implied probabilties when initialized:

* $$P\_{nj}(H) = P\_{j}(H) - (TotalJuice \*0.5)$$&#x20;
* $$P\_{nj}(A) = P\_{j}(A) - (TotalJuice \*0.5)$$&#x20;

where$$P\_{j}(H)$$ and $$P\_{j}(A)$$ are Implied Probabilities for HOME and AWAY positions with juice included, $$P\_{nj}(H)+P\_{nj}(A) = 100$$ and $$TotalJuice = (P\_{j}(H)+P\_{j}(A) - 1)$$.

**House Juice** for bet positions is $$(P\_{j}(H)+P\_{j}(A) - 1)$$ for the previous ex. This (usually) won't change.

**Total Liquidity** is the total seeded house liquidity for bet positions. For more details please visit the [Providing Liquidity](/platform-reference/bookmaker-protocol-to-decentralize-the-house-edge.md#providing-liquidity) section.

**House Max Payout - Max Profit** are the potential max payout and profit for the house based on position odds and volume. A color gradient with fade is for visualizing these potential house PnLs.

### User Profile

The total Betonchain wallet balance for a user includes available (deposits + winnings) and pending (locked in bets) balances. Users can claim all of their available balance or a portion in USDC, USDT or DAI. Users can deposit funds in USDC, USDT or DAI to their Betonchain wallet.

Users can also view their total number of bets made, lifetime profits and rewards from betting, and total amount bet on games.&#x20;

The pending and closed betting history for a user is displayed in a table with sortable columns and includes the Date, League, Bet Type, Odds, Currency, Amount, Result, etc. for all bets. This table is downloadable as a readable `csv` file for accounting and further analysis. All profiles are queryable by wallet address or ENS ([https://betonchain.gg/profile/pending?address=](https://betonchain.gg/profile/pending?address=0x54fA7494f2ED4F25024c7771197E0440506aA868)\<address>).

### Activity

Real-time event stream of newly created bets and bet results alongside a leaderboard showcasing top users. Users can also easily copy and counter each other.

### LP Vaults

View protocol stats, stake/unstake BET and deposit/withdraw funds from the house liquidity pool. For more details please visit the [tokenomics](/platform-reference/tokenomics-staking-and-incentives.md) section.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.betonchain.gg/platform-reference/betonchain-frontend.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
