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.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/franckstone/market-configurable-skillsWhat 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
- Automated Market Deployment: Agents can watch for volatile market conditions and deploy new prediction markets for specific token pairs automatically based on predefined triggers.
- 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.
- Portfolio Hedging: Utilizing prediction markets as synthetic hedging instruments by creating or entering markets that mirror the inverse sentiment of an asset holding.
- Operational Automation: Scheduling market settlements and claiming payouts for successful predictions without manual intervention.
Example Prompts
- "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."
- "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."
- "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
MarketConfigparameters before submission, as market configurations are immutable once the contract is deployed.
Metadata
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 skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-franckstone-market-configurable-skills": {
"enabled": true,
"auto_update": true
}
}
}Tags
Flags: network-access, code-execution
Related Skills
okx-dex-swap
Execute token swaps on-chain via OKX DEX Aggregator API (v6). Use this skill when a user wants to: 1. Build a complete swap flow: get swap calldata -> sign transaction -> broadcast to chain 2. Execute token-to-token swaps with slippage protection, MEV protection, and Jito tips (Solana) 3. Integrate OKX DEX swap + broadcast into applications, bots, or scripts This skill covers the FULL lifecycle: /swap endpoint (get tx data) + /broadcast-transaction endpoint (submit signed tx). For quote-only (no execution), use the okx-dex-quote skill instead.
okx-dex-quote
Fetch optimal swap quotes from OKX DEX Aggregator API (v6). Use this skill when a user wants to: 1. Get the best price for swapping tokens on any supported EVM/Solana chain 2. Compare DEX routing paths and price impact for token swaps 3. Build applications or scripts that query real-time DEX aggregator pricing Core value: Generates correct, authenticated API calls with proper token decimals, amount formatting, HMAC-SHA256 signing, and comprehensive error handling.
Zerion Api
Skill by abishekdharshan
Zerion Api Skill
Skill by abishekdharshan
etherlink
Etherlink blockchain interaction - EVM-compatible L2 on Tezos. Supports mainnet and shadownet testnet via MCP server. Use for balance checks, transactions, smart contracts, and token operations on Etherlink.