logo
πŸ€–
Building with an AI Agent or LLM?
The Myriad CLI is the best, fastest, way to get your agent trading on Myriad Markets.
npm install -g @myriadmarkets/cli

Introduction

You can easily integrate your product with Myriad Markets using the Myriad Protocol.
  1. Use the Myriad CLI to build AI Agents. It also includes Skills and an MCP Server for LLMs.
  1. Use the HTTP API to fetch market data and calldata for trades.
  1. Use the JS SDK for wallet connection and on-chain interactions such as approving ERC20, buying/selling outcome shares and claiming winnings. Great for dapps and agents.
  1. Generate revenue for your integration.
  1. Verify all contract address on all networks in which Myriad Protocol is deployed.

General concepts

Myriad Protocol is a suite of EVM-based smart contracts and a tech stack that enables permissionless integration with Myriad Markets.
You can use any EOA or smart wallet to trade on the Myriad Protocol.
Myriad Protocol uses an Automated Market Maker and an Order Book (newly launched) for different markets.
The Myriad Protocol’s main deployment is on BNB Smart Chain, where most markets will be denominated in USD1 and some markets are still denominated in USDT.
Some AMM markets are also available on other EVM-compatible blockchains and denominated in USD-pegged stablecoins.

Documentation Links

πŸ€–AI Agents and LLMs
  • Myriad CLI
  • Myriad MCP Server
  • Myriad Skills for OpenClaw, Claude Code and OpenAI Codex
πŸ“–Myriad Order Book
  • Myriad Order Book concepts.
  • Order Book API documentation
  • Order Book Frontend references.
πŸ“ˆMyriad API Reference
  • Endpoints for fetching markets data.
  • Endpoints for generating calldata for onchain trading and claiming.
  • Query parameters, examples, and response fields.
πŸ”¨JavaScript SDK
  • Wallet connection, on-chain interactions
  • Code samples for buying/selling and other operations.
  • ERC20 approvals management
πŸ’΅ Builder Revenue Sharing
  • How it works
  • Instructions on how to integrate it
πŸ“œContract Addresses
  • Prediction market contract addresses
  • Supported ERC20 token contract addresses
  • Supported blockchains

Getting Support

Reach out to the Myriad team if you need any help. We’re happy to support you.