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

# Smart Contracts

> On-chain program addresses and verification

## Mainnet Contracts

All horse.fun smart contracts are deployed on Solana mainnet.

<Warning>
  Always verify contract addresses before interacting. Beware of scams using similar addresses.
</Warning>

### Core Programs

| Program             | Address                              | Explorer                                                                         |
| ------------------- | ------------------------------------ | -------------------------------------------------------------------------------- |
| **Racing Program**  | `HorsRaceProgramAddressToBeProvided` | [View on Solscan](https://solscan.io/account/HorsRaceProgramAddressToBeProvided) |
| **HORSE Token**     | `HORSETokenMintAddressToBeProvided`  | [View on Solscan](https://solscan.io/account/HORSETokenMintAddressToBeProvided)  |
| **Jackpot Manager** | `JackpotProgramAddressToBeProvided`  | [View on Solscan](https://solscan.io/account/JackpotProgramAddressToBeProvided)  |
| **Referral System** | `ReferralProgramAddressToBeProvided` | [View on Solscan](https://solscan.io/account/ReferralProgramAddressToBeProvided) |

### Key Accounts

| Account               | Address                            | Description                 |
| --------------------- | ---------------------------------- | --------------------------- |
| **Protocol Treasury** | `TreasuryAddressToBeProvided`      | Protocol fee collection     |
| **Blazing Hoof Pool** | `NormalJackpotAddressToBeProvided` | Normal-jackpot accumulation |
| **King's Run Pool**   | `SuperJackpotAddressToBeProvided`  | Super-jackpot accumulation  |
| **VRF Authority**     | `VRFAuthorityAddressToBeProvided`  | Switchboard VRF interface   |

***

## Verification

### How to Verify

1. **Check Program Authority**: Ensure programs are owned by the correct authority
2. **Verify Upgrade Authority**: Confirm upgrade authority is properly secured
3. **Review IDL**: Inspect the Interface Definition Language on-chain

***

## Integration

For developers building on top of horse.fun:

### API Endpoints

* **RPC**: Use any Solana RPC provider
* **WebSocket**: Subscribe to race updates via Solana WebSocket API
* **Historical Data**: Query on-chain accounts for past races

***

## Open Source

<Note>
  All deployed programs are verifiable on-chain. Source code will be published.
</Note>

***

## Contact

For integration support or security concerns:

* **Technical Support**: [dev@horse.fun](mailto:dev@horse.fun)
* **Security Reports**: [security@horse.fun](mailto:security@horse.fun)
