Add Hunch prediction-markets plugin (x402 betting on Base)#125
Open
rajkaria wants to merge 2 commits into
Open
Add Hunch prediction-markets plugin (x402 betting on Base)#125rajkaria wants to merge 2 commits into
rajkaria wants to merge 2 commits into
Conversation
Collaborator
🟡 Heimdall Review Status
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Adds a native Base MCP plugin for Hunch, a prediction market
on Base with a keyless agent layer. An agent discovers/researches markets over Hunch's
public agent API (
/api/agent/v1/*) and settles an any-size bet through Base MCP's x402payment flow (
initiate_x402_request→complete_x402_request) — the same Base walletthat pays is the bet account. Settlement is parimutuel and gasless for the bettor; winners
are paid out automatically on resolution (no claim step). No API key, no separate MCP server.
Authored to the Base MCP Plugin Specification (
integration: http-api). Every402challenge is pin-checked field-by-field (scheme/network/asset/
payTo/resource) againstHunch's pinned settlement values before any payment, and the authorization is restricted to
EIP-3009
transferWithAuthorization(neverapprove/permit/blanket allowance).Type of change
Affected skill(s)
base-mcp
Plugin checklist
Notes: the only spec edit is appending
prediction-markets+bettingto the tagvocabulary (a genuinely new tag, permitted by Contribution Scope). The SKILL.md plugins
registry, the Integration Types Examples column, and the conformance table are left for
maintainers. The endpoints are Hunch's live production agent API; a drift guard keeps the
plugin's pinned
payTo/asset byte-identical to Hunch's hardened x402 registry.Base MCP Plugin Submission Agreement (when applicable)
By checking the box below, I agree and represent on behalf of the protocol/entity it
references that: I am authorized to submit this plugin on behalf of Hunch; it infringes no
third party's rights; the plugin and Hunch comply with applicable laws and enforce the same
geofencing/eligibility as Hunch's user-facing app; it complies with Hunch's terms; it
accurately describes its behavior with no hidden, deceptive, or malicious instructions and
the Hunch API returns no malicious or unexpected calldata (it returns a standard x402
exactchallenge, pin-checked before payment); Hunch is solely responsible for the pluginand submission is subject to the Base Account and Base App Terms of Service; and Base may
modify, decline to list, or remove the plugin at any time.
Related issues
N/A