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 the pnp-markets skill to build, trade, and settle prediction markets on Base using any ERC20 collateral. Perfect for forecasting, contests, and DeFi utility.

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/proxima424/create-prediction-markets
Or

What This Skill Does

The pnp-markets skill is a powerful infrastructure tool designed for the Base blockchain that enables the seamless creation, management, and participation in prediction markets. By leveraging any ERC20 token as collateral, this skill allows users to transform tokens into versatile forecasting instruments. It handles the entire lifecycle of a prediction market: from initial deployment and liquidity provisioning to trade execution, settlement of outcomes, and redemption of winnings. Whether you are building complex financial infrastructure, conducting community contests, or aggregating collective intelligence to gauge real-world probabilities, this skill provides the necessary command-line and programmatic interface to interact with the PNP protocol on Base.

Installation

To integrate this skill into your OpenClaw environment, execute the following installation command in your terminal:

clawhub install openclaw/skills/skills/proxima424/create-prediction-markets

Ensure you have your environment variables configured, specifically PRIVATE_KEY for transaction signing and an optional RPC_URL for network connectivity. For production environments, it is highly recommended to use a dedicated RPC provider such as Alchemy or QuickNode to avoid rate-limiting issues common with public endpoints.

Use Cases

  • Information Finance: Crowdsource probability estimates on geopolitical, economic, or crypto-native events.
  • Token Utility: Increase the utility of your project's native token by allowing holders to use it as collateral for market participation.
  • Contests & Prediction Leagues: Run community prediction contests to engage users and reward accurate forecasting.
  • Risk Hedging: Build tools that allow users to hedge exposure to protocol upgrades, price volatility, or governance outcomes.

Example Prompts

  1. "Create a prediction market on Base asking 'Will Base TVL exceed $2B by Q3?' with a 7-day duration and 100 USDC liquidity."
  2. "Buy 50 YES tokens for the condition 0x123... using my USDC balance."
  3. "Check the status of market 0x456... and settle it if the event has concluded."

Tips & Limitations

  • Approvals: Always remember to approve the PNP contract to spend your collateral tokens before attempting to trade. This is a standard security requirement for all EVM-based dApps.
  • RPC Stability: While public RPCs are convenient for testing, they often suffer from downtime or rate limits. Use a private node for high-frequency trading.
  • Precision: Ensure your collateral decimals match the token requirements (e.g., 6 for USDC, 18 for WETH) to prevent transaction failures.
  • Finality: Settlement actions should only be performed after the market's endTime has passed to ensure the oracle or settlement logic is valid.

Metadata

Stars1171
Views0
Updated2026-02-19
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-proxima424-create-prediction-markets": {
      "enabled": true,
      "auto_update": true
    }
  }
}

Tags(AI)

#prediction-markets#defi#base#forecasting#web3
Safety Score: 3/5

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