Skip to content

feat(tools): Register Polymarket Prediction Market Intelligence x402 Tool - #447

Open
Jonbaz32 wants to merge 5 commits into
valory-xyz:mainfrom
Jonbaz32:feature/polymarket-intelligence-tool-1786882677716
Open

feat(tools): Register Polymarket Prediction Market Intelligence x402 Tool#447
Jonbaz32 wants to merge 5 commits into
valory-xyz:mainfrom
Jonbaz32:feature/polymarket-intelligence-tool-1786882677716

Conversation

@Jonbaz32

Copy link
Copy Markdown

Polymarket Prediction Market Intelligence x402 Mech Tool

This Pull Request registers the Polymarket Prediction Market Intelligence x402 tool adapter for Olas Mech Worker Nodes and Pearl / Polystrat trading agents.

  • Tool Name: polymarket_intelligence
  • Production API: https://agent-payment-gateway.vercel.app/v1/prediction-market-analysis
  • Price: $0.05 USDC
  • Settlement Chain: Base Mainnet (eip155:8453)
  • USDC Contract: 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913
  • Merchant Recipient: 0x43f9a721B59C247B6258e72A1Bf5A384b64F8A38

Key Characteristics:

  • No Credentials Included: Operators configure their own Base USDC payment wallet credentials in service.yaml.
  • x402 Protocol Flow: Handles HTTP 402 challenges, Base Mainnet USDC authorization, and facilitator settlement.
  • Unit Tests Included: 100% mocked unit tests in tests/test_tool_mocked.py.
  • Live Deployment Note: Live Pearl agent usage requires Mech worker operators to deploy the updated release.

@Jonbaz32

Copy link
Copy Markdown
Author

Hi Valory Team,

Following up on PR #447. This PR registers tool polymarket_intelligence for prediction market agents (Polystrat / Pearl Predictor):

  • Service: Live Polymarket prediction market analysis, implied probabilities, volume/liquidity metrics, and risk flags.
  • Protocol: Standard x402 payment flow ($0.05 USDC on Base Mainnet eip155:8453).
  • Security: Contains no hardcoded private keys or credentials. Mech worker node operators configure their own payment wallet in service.yaml.
  • Testing: 100% mocked unit tests in tests/test_tool_mocked.py.

We would appreciate maintainer review and any requested feedback or changes. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant