> ## Documentation Index
> Fetch the complete documentation index at: https://docs.cryptoclash.ink/llms.txt
> Use this file to discover all available pages before exploring further.

# Token Economy

> Understanding $CLASH tokens, swaps, and earning mechanisms

# Token Economy & Swap System

Crypto Clash features a comprehensive token economy centered around the CLASH token, with integrated swap functionality for earning battle tickets.

<img src="https://mintcdn.com/cryptoclash-35e80db9/peArRaXf8n5IXTnV/images/CLASH.png?fit=max&auto=format&n=peArRaXf8n5IXTnV&q=85&s=6f542a64c8a0f61bb6d4cc5304f51920" alt="CLASH token" style={{maxWidth: '360px', width: '45%', display: 'block', margin: '16px auto'}} width="815" height="815" data-path="images/CLASH.png" />

## CLASH Token

### Token Details

| Property         | Details                                                                                          |
| ---------------- | ------------------------------------------------------------------------------------------------ |
| Contract Address | `0xFd0D20617119d0C91f45CEd576E5a297B248BCEF`                                                     |
| Primary Utility  | Earning clash tickets for battles                                                                |
| Earning Method   | Swap or earn through the leaderboard                                                             |
| Network          | Ink Mainnet                                                                                      |
| Dexscreener      | [View CLASH pair on Ink](https://dexscreener.com/ink/0x4af0ebea525f9006852918d92bf3749ef86cb514) |

### Token Utility

The CLASH token serves as the primary game currency:

* **Battle Tickets** - Convert swaps into clash tickets for battles
* **Game Progression** - Essential for future features
* **Economic Incentive** - Rewards active trading and participation
* **Community Engagement** - Encourages ecosystem participation

## Swap Functionality

### Supported Tokens

<CardGroup cols={3}>
  <Card title="ETH">
    Ethereum native token
  </Card>

  <Card title="CLASH">
    Game utility token
  </Card>
</CardGroup>

<Info>
  You can swap between ETH and CLASH on the swap section in the game.
  More tokens and pairs will be available in the future.
</Info>

### Swap Requirements

* **Minimum Swap Amount:** No minimum swap requirement - trade any amount
* **Ticket Earning Threshold:** \$50+ USD equivalent swaps (once daily)
* **Ticket Reward:** 20 clash tickets per qualifying swap
* **Daily Swap Limit:** No swap limit

### Swap Process

<Steps>
  <Step title="Connect Wallet">
    Ensure your wallet is connected to Ink network
  </Step>

  <Step title="Select Tokens">
    Choose source and destination tokens in the swap component
  </Step>

  <Step title="Enter Amount">
    Input swap amount (\$50+ for tickets)
  </Step>

  <Step title="Review Transaction">
    Check swap details and gas fees
  </Step>

  <Step title="Confirm Swap">
    Approve transaction in your wallet
  </Step>

  <Step title="Receive Rewards">
    Get clash tickets automatically (if \$50+)
  </Step>
</Steps>

## Network Support

### Supported Networks

**Ink Mainnet**

* Production environment
* Real tokens and rewards
* Contract: `0xFd0D20617119d0C91f45CEd576E5a297B248BCEF`

### Automatic Detection

The system automatically detects your network environment:

* **Mainnet Detection** - Uses production contracts
* **Network Validation** - Ensures correct network connection

<Warning>
  Make sure you're connected to the correct network before performing swaps
</Warning>

## DEX Integration

### Architecture Compatibility

Our swap and liquidity contracts are based on PancakeSwap contracts and are compatible with the Uniswap V2 model:

* Uses Uni-V2 style factories, pairs (LP tokens), and routers
* Supports standard `addLiquidity`, `removeLiquidity`, and `swapExactTokensForTokens` flows
* LP tokens follow the Uni-V2 pool share semantics for rewards and accounting

<Info>
  Because our contracts inherit from the audited PancakeSwap codebase, PancakeSwap’s public audits apply to our implementation as well. Any project‑specific changes are minimal and preserve uni‑v2 invariants.
</Info>

### Optimized Routing

The swap system uses Ink blockchain DEX with:

* **Best Price Discovery** - Finds optimal swap routes
* **Slippage Protection** - Minimizes price impact
* **Gas Optimization** - Efficient transaction processing

### Swap Features

* **Real-Time Pricing** - Live price feeds and updates
* **Slippage Tolerance** - Configurable slippage protection
* **Multi-Hop Routing** - Complex swap path optimization

## Daily Limits & Reset

### Daily Swap Limits

* **Qualifying Swaps:** \$50+ per day
* **Ticket Rewards:** 20 tickets per qualifying swap
* **Reset Time:** UTC midnight (00:00 UTC)

### Limit Tracking

* **Swap Counter** - Daily Tickets show if swap for tickets is available
* **Ticket Balance** - Monitor available clash tickets
* **Reset Timer** - Countdown to next daily reset

## Economic Incentives

### Swap Rewards Structure

* **\$0-49 Swaps:** No ticket rewards
* **\$50+ Swaps:** 20 clash tickets + consumes 1 daily swap
* **Maximum Daily:** 1 swaps = 20 tickets

### Strategic Considerations

* **Timing Swaps** - Plan swaps around daily reset times
* **Amount Optimization** - Maximize ticket earning efficiency
* **Market Conditions** - Consider crypto price volatility
* **Gas Fee Management** - Account for transaction costs

## Token Economics

### Supply & Distribution

**Total Supply:** Fixed supply with deflationary mechanisms
**Circulation:** Tokens in active trading and gameplay
**Utility Focus:** Primarily for earning battle tickets
**Value Drivers:** Game participation and swap volume

### Economic Model

**Demand Drivers:**

* Battle ticket requirements
* Daily swap incentives
* Community participation
* Ecosystem growth

**Supply Factors:**

* Fixed token supply
* Burn mechanisms

## Integration Benefits

### For Players

* **Seamless Experience** - Integrated swap and battle system
* **Economic Rewards** - Earn tickets through trading
* **Reduced Friction** - No external exchanges needed
* **Community Building** - Shared economic incentives

### For Ecosystem

* **Liquidity Provision** - Increased DEX trading volume
* **Token Utility** - Real use cases for CLASH token
* **User Retention** - Economic incentives for continued play
* **Network Effects** - Growing community participation

## Best Practices

### Swap Optimization

1. **Plan Daily Swaps** - Use all 20 daily swaps efficiently
2. **Monitor Gas Fees** - Time swaps for lower gas costs
3. **Consider Market Conditions** - Account for crypto volatility
4. **Track Limits** - Monitor remaining daily swaps

### Ticket Management

1. **Battle Planning** - Use tickets strategically
2. **Reward Optimization** - Battle when rewards are highest
3. **Streak Building** - Maintain battle streaks for bonuses
4. **Resource Conservation** - Don't waste tickets on poor matchups

***

*Master the token economy and maximize your battle potential through strategic swaps!*
