Skip to content

Add MetEngine smart money analytics#15

Open
vrajdesai78 wants to merge 1 commit intoPolymarket:mainfrom
vrajdesai78:main
Open

Add MetEngine smart money analytics#15
vrajdesai78 wants to merge 1 commit intoPolymarket:mainfrom
vrajdesai78:main

Conversation

@vrajdesai78
Copy link

@vrajdesai78 vrajdesai78 commented Feb 25, 2026

  • Add 27 MetEngine smart money analytics commands (market discovery, intelligence,
    trades, wallet analytics) powered by x402 pay-per-request on Solana Mainnet
  • Accept Polymarket URLs, slugs, or raw condition IDs for market-specific commands
    (resolves via Gamma SDK)
  • Add x402 HTTP client with FreeClient (health/pricing) and PaidClient (Solana-signed
    paid endpoints)

Note

Medium Risk
Introduces paid request signing and a large new dependency surface (Solana/x402/reqwest middleware), which can impact build size and runtime networking/payment behavior, but is largely additive and isolated to the new metengine path.

Overview
Adds a new metengine command group that exposes a broad set of smart-money analytics endpoints (market discovery, intelligence/trades, and wallet analytics), including market identifier resolution from condition ID, Polymarket URL, or slug (slug resolved via Gamma).

Introduces an x402-enabled HTTP layer with FreeClient for unauthenticated endpoints and PaidClient that auto-handles HTTP 402 payment challenges by signing Solana-mainnet USDC payments; wires in --solana-key plus METENGINE_SOLANA_KEY/config-file fallback for key resolution.

Updates docs and dependencies to support the new flow (adds reqwest/reqwest-middleware, Solana + x402-* crates, and relaxes alloy version constraint to <1.7).

Written by Cursor Bugbot for commit dea88b8. This will update automatically on new commits. Configure here.

Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 2 potential issues.

Bugbot Autofix is OFF. To automatically fix reported issues with Cloud Agents, enable Autofix in the Cursor dashboard.

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