Add MainStreet read-only reputation oracle plugin#76
Open
philpof102-svg wants to merge 1 commit into
Open
Conversation
Read-only reputation oracle for Base wallets and AI agents. - No send_calls, no calldata: every endpoint is GET via web_request. - Free tier (1k preflight/day per IP) + x402 paywall on premium reads. - On-chain verifier at 0x7397adb9713934c36d22aa54b4dbbcd70263592b (Base, view-only). - ERC-8004 agentId 53953. - npm @raskhaaa/mainstreet-oracle + HTTP at https://avisradar.app/mcp. Fills a primitive currently absent: is this Base counterparty trustworthy? - natural pre-action before Morpho borrow, Aerodrome swap, Bankr launch, Virtuals ACP trade, x402 payment routing.
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.
Summary
Adds MainStreet Trust Oracle as a Base MCP plugin. Follows the exact pattern of
moonwell.md/morpho.md— markdown plugin file underskills/base-mcp/plugins/.Key characteristics :
send_calls, no calldata prep. Every endpoint is a GET viaweb_request. Zero risk surface to Base MCP users.initiate_x402_request+complete_x402_requestflow. Prices : $0.25 audit, $1 bulk-audit, $2 pre-launch, $25 angel.0x7397adb9713934c36d22aa54b4dbbcd70263592b(Base mainnet, view-only, EIP-712 ecrecover).@raskhaaa/mainstreet-oracle(stdio) + HTTP athttps://avisradar.app/mcp.Why this slot
The existing plugins (aerodrome, avantis, bankr, moonwell, morpho, uniswap, virtuals) all execute Base actions but none expose a 'is this counterparty trustworthy?' primitive. MainStreet fills that slot.
Natural pre-actions :
morpho.borrowon a fresh borrower →mainstreet_preflight(borrower)→ catch fresh-operator flagsaerodrome.swapagainst a custom pool → catch rug-pull patternsbankr.launchreferencing a deployer → catch known-sniper hitsvirtuals.ACP.complete→ signed verdict for the evaluator slotTesting
Tested via Claude Code + Cursor against the existing free endpoints:
GET /api/agent/preflight?address=0xAC3ca7c5d3cDD7702fd08F9C4C28dAA22296aDa9→ returns PROCEED + scoreGET /api/agent/score?subject=0xAC3ca7...aDa9→ returns 0-100 scoreGET /api/agent/leaderboard?limit=5→ returns top-5x402 paid endpoints tested via @x402/axios in a separate harness.
— Phil (rakshasar)
npm · github · docs