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

market-configurable-skills

Call guide and best practices for the configurable crypto price prediction market contracts GouGouBiMarketConfigurable.sol and GouGouBiMarketConfigurableFactory.sol, including factory creation parameters, market configuration fields, core trading/settlement methods, and conventions for calling the contracts from scripts, frontends, or OpenClow workflows via ethers/web3. Use this skill when you need to create new prediction markets, buy YES/NO, swap positions, or redeem settlements.

Why use this skill?

Learn to automate crypto prediction markets with OpenClaw. Create, trade, and settle GouGouBiMarketConfigurable contracts easily with this comprehensive skill guide.

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/franckstone/market-configurable-skills
Or

What This Skill Does

The market-configurable-skills package provides a comprehensive interface for interacting with the GouGouBiMarketConfigurable prediction market ecosystem. It acts as an abstraction layer for the Factory and Market contracts, allowing OpenClaw agents to programmatically create, manage, and participate in crypto price prediction markets. The skill simplifies the interaction with Uniswap V3-backed CPMM (Constant Product Market Maker) mechanisms, handling complex state management, market configuration, and settlement workflows. By using this skill, agents can deploy new prediction markets with custom parameters such as settlement intervals, price lookback periods, and specific liquidity token requirements, as well as execute trades (YES/NO positions) and initiate settlement calls seamlessly.

Installation

To integrate this skill into your OpenClaw environment, execute the following command in your terminal: clawhub install openclaw/skills/skills/franckstone/market-configurable-skills Ensure your project has the necessary ethers.js or web3.js dependencies configured to interact with the target blockchain networks where the factory contracts are deployed.

Use Cases

  1. Automated Market Deployment: Agents can watch for volatile market conditions and deploy new prediction markets for specific token pairs automatically based on predefined triggers.
  2. Arbitrage and Liquidity Management: Managing and participating in prediction markets by swapping between YES/NO positions to capitalize on discrepancies between the market oracle (Uniswap V3) and external data inputs.
  3. Portfolio Hedging: Utilizing prediction markets as synthetic hedging instruments by creating or entering markets that mirror the inverse sentiment of an asset holding.
  4. Operational Automation: Scheduling market settlements and claiming payouts for successful predictions without manual intervention.

Example Prompts

  1. "Deploy a new prediction market for ETH/USDC with a 1-hour settlement interval and a 500-second price lookback, using the factory contract address 0x123...abc."
  2. "Check the current status of all markets created by my address, identify those that have expired, and trigger the settlement process for any profitable outcomes."
  3. "Buy 100 YES tokens on the BTC/USDT market at address 0xabc...123 using my connected wallet and confirm the transaction hash."

Tips & Limitations

  • Permissions: Creating markets requires you to be on the factory's whitelist. Ensure your deploying wallet is authorized by the factory owner before calling createMarket.
  • Gas Awareness: Prediction market interactions involve multiple on-chain transactions. Always check current gas prices to ensure transaction profitability, especially when dealing with high-frequency trades.
  • Oracle Dependency: The market relies on Uniswap V3 pool price averages. Ensure the selected pool has sufficient liquidity to avoid price manipulation risks.
  • Safety: Always verify the MarketConfig parameters before submission, as market configurations are immutable once the contract is deployed.

Metadata

Stars2387
Views1
Updated2026-03-09
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-franckstone-market-configurable-skills": {
      "enabled": true,
      "auto_update": true
    }
  }
}

Tags

#prediction-market#evm#contract-call
Safety Score: 3/5

Flags: network-access, code-execution