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

# counsel, L1-Native Parimutuel Markets on XRP Ledger

> Parimutuel prediction markets native to the XRP Ledger. XRP Payment bets, XLS-47 oracle resolution, multisig payouts. No bridge, no smart contract.

counsel is an L1-native parimutuel prediction market built entirely on the XRP Ledger. Every bet is a native XRP Payment you sign yourself, every payout is a committee-multisigned native Payment, and crypto-price markets resolve automatically against the native XLS-47 price oracle. There is no bridge, no smart contract, and no database of record: the ledger is the registry, the pool, and the audit trail. Everything is on-chain and recomputable. Take counsel of your pillow.

## Developer Quickstart

The public API is read-only REST with no API key. Start by listing open markets, then fetch an unsigned bet intent, sign it with your own key, and submit it to the XRPL.

<CodeGroup>
  ```bash curl theme={null}
  curl https://api.counsel.markets/markets
  ```

  ```typescript counsel-js theme={null}
  import { Counsel } from "counsel-js";

  const counsel = new Counsel({ baseUrl: "https://counsel.markets" });
  const { markets } = await counsel.markets();

  // fetch an unsigned bet intent, sign with your own key, submit
  const hash = await counsel.placeBet(process.env.BOT_SEED, markets[0].id, 0, 5);
  console.log("bet placed:", hash);
  ```
</CodeGroup>

<Card title="Get Started" icon="rocket" href="/quickstart">
  Walk the canonical bet flow end to end: find a market, fetch an unsigned bet intent with projected odds, sign in your own wallet, and submit.
</Card>

## Explore the docs

<CardGroup cols={2}>
  <Card title="Introduction" icon="book-open" href="/introduction">
    What counsel is, how the parimutuel pool works, and the trust model: custodial-transparent, not trustless.
  </Card>

  <Card title="How It Works" icon="circle-nodes" href="/how-it-works">
    End-to-end lifecycle: tagged Payment bet, live tote board, oracle resolution, multisig payout.
  </Card>

  <Card title="Quickstart" icon="rocket" href="/quickstart">
    Place your first bet in minutes with curl or counsel-js. Non-custodial, signed in your own wallet.
  </Card>

  <Card title="API Overview" icon="code" href="/api/overview">
    Public read-only REST: markets, bet-intent with projected odds, positions, feed, profile, leaderboard. No key required.
  </Card>

  <Card title="SDK Overview" icon="brackets-curly" href="/sdk/overview">
    counsel-js wraps the API: fetch an unsigned intent, sign with your own key, submit. Bots are first-class.
  </Card>

  <Card title="Copy Trading" icon="users" href="/guides/copy-trading">
    Mirror a leader's open bets non-custodially. You sign every mirror in your own wallet at your own stake size.
  </Card>
</CardGroup>
