stacks-market

Trade prediction markets on Stacks with LMSR pricing and on-chain execution.

9|43|Updated Feb 19, 2026
One-click install
npx skills add https://github.com/aibtcdev/skills --skill stacks-market-aibtcdev
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: stacks-market
Source: https://github.com/aibtcdev/skills/tree/main/stacks-market
Command: npx skills add https://github.com/aibtcdev/skills --skill stacks-market-aibtcdev

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires commander, @stacks/transactions.

What problem does it solve?

Enables end-to-end prediction market trading on Stacks by integrating stacksmarket.app market discovery, real-time LMSR pricing, and on-chain execution.

Core Features & Use Cases

  • Market Discovery: List and search prediction markets on stacksmarket.app.
  • Price Quoting: Retrieve LMSR quotes for YES/NO shares before trading.
  • Trading: Buy YES/NO shares with slippage protection and sell before resolution; redeem winnings after resolution.
  • Position Tracking: Check YES/NO balances per market and monitor ongoing activity.

Quick Start

List the current markets with bun run stacks-market/stacks-market.ts list-markets.

Frequently Asked Questions about stacks-market

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I trade prediction markets on Stacks?

You can trade prediction markets on Stacks by discovering markets via stacksmarket.app, fetching real-time LMSR pricing quotes, and executing on-chain buy or sell operations through an unlocked mainnet wallet.

How does LMSR pricing work for prediction market shares?

LMSR pricing is calculated on-chain to provide real-time quotes for YES and NO shares, adjusting prices dynamically based on market demand and liquidity to ensure fair execution for both buying and selling.

Do I need an unlocked Stacks wallet to execute prediction market trades?

Yes, you need an unlocked Stacks wallet configured for mainnet-only use to sign and broadcast on-chain write operations, including buying YES/NO shares, selling positions, and redeeming winnings after market resolution.

Can I check my YES and NO position balances before selling prediction market shares?

Yes, you can check your YES and NO position balances per market using read-only price queries and balance tracking features, allowing you to monitor ongoing activity and verify holdings before executing sell operations.

How do I redeem winnings after a Stacks prediction market resolves?

You redeem winnings after a Stacks prediction market resolves by executing a write operation through the Skill, which handles on-chain redemption of your winning YES or NO positions with built-in network safeguards and error handling.

What slippage protection is available when buying Stacks prediction market shares?

Slippage protection is implemented directly into the on-chain trading execution, ensuring that your buy orders for YES or NO shares are protected against adverse price movements during transaction confirmation.