From alchemy-skills
Discovers live Myriad prediction markets on BNB Chain, executes buy/sell trades, monitors portfolio exposure, claims winnings, and runs as MCP server for multi-agent workflows. Use for trading prediction markets by keyword or automating trading loops.
npx claudepluginhub moonpay/skills --plugin alchemy-skillsThis skill uses the workspace's default tool permissions.
Myriad CLI gives AI agents a full trading loop on Myriad prediction markets running on BNB Chain: discover markets, make decisions, execute trades, and claim winnings. Supports MCP server mode for multi-agent orchestration.
Search prediction markets on Polymarket and Kalshi, buy/sell outcome shares via EVM/Solana wallets, track positions and PnL with CLI commands.
Trade on Polymarket prediction markets on Polygon: browse markets, check wallet/CLOB balances, buy/sell YES/NO shares with safety gates. Uses Node.js scripts, WDK vault, and auto-setup.
Interacts with Polymarket prediction markets to search events, check odds, place USDC.e bets on Polygon, and manage positions.
Share bugs, ideas, or general feedback.
Myriad CLI gives AI agents a full trading loop on Myriad prediction markets running on BNB Chain: discover markets, make decisions, execute trades, and claim winnings. Supports MCP server mode for multi-agent orchestration.
Chain: BNB Chain (chainId=56) Settlement token: USDT / USD1 Default slippage: 0.05 (trades), 0.005 (swaps)
npm i -g @myriadmarkets/cli
# 1. Create and fund a MoonPay wallet (see Wallet section below)
# 2. Configure Myriad with your private key
myriad wallet setup # interactive — encrypts key to file + OS keychain
# OR
export MYRIAD_PRIVATE_KEY="0x..." # env var
# 3. Deposit funds
myriad wallet deposit
Config resolves in order: CLI flags → env vars / .env → ~/.config/myriad/config.json → built-in defaults.
# List open markets sorted by volume
myriad markets list --state open --order volume --sort desc
# Filter by keyword
myriad markets list --keyword "bitcoin" --state open --limit 10
# JSON output for agent pipelines
myriad markets list --state open --json
# Buy a position (dry-run first)
myriad trade buy --market-id 164 --outcome-id 0 --value 25 --dry-run
myriad trade buy --market-id 164 --outcome-id 0 --value 25
# Sell a position
myriad trade sell --market-id 164 --outcome-id 0 --value 25 --dry-run
myriad trade sell --market-id 164 --outcome-id 0 --value 25
Always use --dry-run before write operations — preview the transaction without execution.
# View open positions and exposure
myriad portfolio
# Check balances
myriad wallet balances
# Swap tokens (auto-runs when USDT balance is insufficient)
myriad swap
# Sweep all resolved winning positions
myriad claim all
# Run as MCP server for Claude Code / multi-agent orchestration
myriad mcp
MCP config for Claude Code (~/.claude/settings.json):
{
"mcpServers": {
"myriad": {
"command": "myriad",
"args": ["mcp"]
}
}
}
# Install Myriad skills into Claude Code
myriad skills install --target claude
| Flag | Description |
|---|---|
--dry-run | Preview transaction without executing |
--json | Machine-readable output for agent pipelines |
--keyword <term> | Filter markets by topic |
--state <state> | Filter by market status: open, resolved, etc. |
--order <field> | Sort field (e.g. volume) |
--sort <dir> | asc or desc |
--limit <n> | Cap result count |
Spot a news catalyst → scan markets → stage trade:
myriad markets list --keyword "fed rate" --state open --json
# → review markets and odds
myriad trade buy --market-id <id> --outcome-id <id> --value 50 --dry-run
# → confirm looks right
myriad trade buy --market-id <id> --outcome-id <id> --value 50
Check exposure before each trading cycle:
myriad portfolio
myriad wallet balances
Automate claims on resolved markets:
myriad claim all
Run scout + execution agents via MCP:
myriad mcp # Claude Code connects via MCP tools
Myriad trades on BNB Chain and settles in USDT. Use MoonPay to create a BNB Chain wallet, fund it, and export the key for Myriad.
npm install -g @moonpay/cli
mp login
# Create a dedicated trading wallet
mp wallet create --name "myriad-agent"
mp wallet retrieve --wallet "myriad-agent" # note your BNB Chain address
# Buy USDT directly on BNB Chain
mp buy --token usdt_bsc --amount 100 --wallet <bnb-address> --email <email>
# Or bridge USDT from another chain
mp token bridge \
--from-wallet myriad-agent --from-chain ethereum \
--from-token 0xdac17f958d2ee523a2206206994597c13d831ec7 \
--from-amount 100 \
--to-chain bsc \
--to-token 0x55d398326f99059ff775485246999027b3197955
# ⚠️ Your private key gives full access to your wallet.
# Never share it, commit it to version control, or reuse it across services.
mp wallet export --wallet "myriad-agent"
# Copy EVM private key → use in myriad wallet setup or MYRIAD_PRIVATE_KEY
mp token balance list --wallet <bnb-address> --chain bsc
mp virtual-account offramp create \
--name "Offramp" \
--bankAccountId <bank-account-id> \
--stablecoin usdc \
--chain bsc
npm i -g @myriadmarkets/climp wallet create --name "myriad-agent"mp buy --token usdt_bsc --amount 100 --wallet <address> --email <email>mp wallet export --wallet "myriad-agent" → copy private keymyriad wallet setup → paste key (stored encrypted)myriad markets list --state open --order volume --sort descmyriad trade buy --market-id <id> --outcome-id <id> --value 25 --dry-runmyriad trade buy --market-id <id> --outcome-id <id> --value 25myriad claim all — sweep resolved positionsmp virtual-account offramp create — withdraw winnings