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/cliIntroduction
You can easily integrate your product with Myriad Markets using the Myriad Protocol.
- Use the HTTP API to fetch market data and calldata for trades.
- 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.
- Generate revenue for your integration.
- 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. Limit orders will be supported soon with the upcoming Myriad Order Book.
Documentation Links
- Endpoints for fetching markets data.
- Endpoints for generating calldata for onchain trading and claiming.
- Query parameters, examples, and response fields.
- Very useful for dApps
- Wallet connection, on-chain interactions
- Code samples for buying/selling and other operations.
- ERC20 approvals management
- How it works
- Instructions on how to integrate it
Blockchain addresses
The Myriad Protocolβs main deployment is on BNB Chain, where most markets will be denominated in USD1 and some markets are still denominated in USDT.
Some markets are also available on other EVM-compatible blockchains.
BNB Chain
Deployed Contracts
Mainnet | Testnet | |
PredictionMarket | ||
PredictionMarketQuerier |
Tokens
Token | Mainnet | Testnet |
USD1 | ||
USDT |
Other chains
Abstract
Deployed Contracts
Mainnet | Testnet | |
PredictionMarket | ||
PredictionMarketQuerier |
Tokens
Token | Mainnet | Testnet |
USDC.e | ||
PENGU | ||
PTS |
Linea
Deployed Contracts
Mainnet | Testnet | |
PredictionMarket | ||
PredictionMarketQuerier |
Tokens
Token | Mainnet | Testnet |
USDC |
Celo
Deployed Contracts
Mainnet | Testnet | |
PredictionMarket | Coming soon | |
PredictionMarketQuerier | Coming soon |
Tokens
Token | Mainnet | Testnet |
USDT | Coming soon |
Getting Support
Reach out to the Myriad team if you need any help. Weβre happy to support you.