ClawKit Logo
ClawKitReliability Toolkit
Back to Registry
Official Verified finance Safety 3/5

pnp-markets

Create, trade, and settle prediction markets on Base with any ERC20 collateral. Use when building prediction market infrastructure, running contests, crowdsourcing probability estimates, adding utility to tokens, or tapping into true information finance via market-based forecasting.

Why use this skill?

Use pnp-markets to create, trade, and settle prediction markets on Base with any ERC20 collateral. Manage your information finance needs with ease.

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/tariqsumatri82/create-prediction-markets-1-0-0
Or

What This Skill Does

The pnp-markets skill is a comprehensive toolkit for building, managing, and participating in prediction markets on the Base Mainnet. By utilizing any ERC20 token as collateral, this skill allows for the seamless creation of binary prediction markets, automated trading of YES/NO outcomes, and the eventual settlement and redemption of winnings. It serves as a bridge between information finance and blockchain, enabling users to crowdsource probability estimates or create utility-driven markets for existing token communities.

Installation

You can integrate this skill directly into your OpenClaw environment by running the following command in your terminal:

clawhub install openclaw/skills/skills/tariqsumatri82/create-prediction-markets-1-0-0

Ensure your environment variables are configured correctly, specifically setting the PRIVATE_KEY for signing transactions and an optional RPC_URL for reliable blockchain connectivity. Always prioritize using a dedicated RPC endpoint like Alchemy or QuickNode for production-grade deployments to avoid the rate limits associated with public endpoints.

Use Cases

  • Forecasting & Sentiment: Create markets to gauge community sentiment on upcoming events or product launches.
  • Token Utility: Increase the velocity and utility of your project's native token by allowing users to bet on ecosystem milestones.
  • Risk Hedging: Use prediction markets to hedge against specific technical or market outcomes within the Base ecosystem.
  • Contests: Organize community engagement events where users stake assets to predict future outcomes, such as protocol upgrades or market price targets.

Example Prompts

  1. "Create a new prediction market on Base asking 'Will the Base mainnet reach 500 TPS by December?' with a duration of 30 days and use USDC as the collateral."
  2. "Buy 50 YES tokens for the condition ID 0x123... using my currently approved USDC balance."
  3. "Check the current status of the market at 0xABC... and if it is settled, please trigger the redemption process for my winnings."

Tips & Limitations

Always ensure you have granted sufficient ERC20 token allowances to the pnp-markets contract before attempting to place trades; otherwise, transactions will revert. When creating markets, carefully calculate your collateral decimals—USDC uses 6, while most others use 18. This skill performs on-chain operations, meaning gas fees on the Base network apply to every action. Always double-check your condition IDs before submitting settlement requests to avoid unnecessary costs.

Metadata

Stars982
Views1
Updated2026-02-14
View Author Profile
AI Skill Finder

Not sure this is the right skill?

Describe what you want to build — we'll match you to the best skill from 16,000+ options.

Find the right skill
Add to Configuration

Paste this into your clawhub.json to enable this plugin.

{
  "plugins": {
    "official-tariqsumatri82-create-prediction-markets-1-0-0": {
      "enabled": true,
      "auto_update": true
    }
  }
}

Tags(AI)

#blockchain#prediction-markets#defi#base#trading
Safety Score: 3/5

Flags: network-access, external-api, code-execution