Skip to content

Add Base Voucher plugin for ETH/USDC gift cards on Base#135

Open
Surya512002 wants to merge 2 commits into
base:masterfrom
Surya512002:add-base-voucher-plugin
Open

Add Base Voucher plugin for ETH/USDC gift cards on Base#135
Surya512002 wants to merge 2 commits into
base:masterfrom
Surya512002:add-base-voucher-plugin

Conversation

@Surya512002

Copy link
Copy Markdown

Description

Adds Base Voucher — a hybrid Base MCP plugin for creating and redeeming ETH/USDC crypto gift cards on Base mainnet.

  • Prepare: Base Voucher MCP at https://base-analytics-app.vercel.app/api/mcp
    • Tools: voucher_prepare_create, voucher_prepare_redeem, voucher_lookup_batch
  • Execute: Base MCP send_calls on chain base
  • Fallback: GET prepare endpoints on base-analytics-app.vercel.app

Live app: https://base-analytics-app.vercel.app
Agent API smoke test: 16/16 pass on production.

Allowlist request: Please add base-analytics-app.vercel.app to the Base MCP web_request allowlist for HTTP fallback on chat-only surfaces.

Type of change

  • Base MCP plugin submission

Affected skill(s)

  • base-mcp

Plugin checklist

  • Plugin spec/manifest is accurate and tested
  • API endpoints and external MCP tested and functional
  • Follows Contribution Scope (single plugin file only; no SKILL.md edit)

Base MCP Plugin Submission Agreement

  • I have read and agree to the Base MCP Plugin Submission Agreement above.

Test plan

  • GET /api/voucher/prepare-create?asset=USDC&total=10&cards=5&creator=0x...valid:true, calls[], cards[]
  • MCP tools/list at /api/mcp → 3 voucher tools
  • End-to-end create + redeem tested via Base MCP send_calls

Hybrid plugin: Base Voucher MCP prepare tools + HTTP GET fallback → Base MCP send_calls.
@cb-heimdall

Copy link
Copy Markdown
Collaborator

🟡 Heimdall Review Status

Requirement Status More Info
Reviews 🟡 0/1
Denominator calculation
Show calculation
1 if user is bot 0
1 if user is external 0
2 if repo is sensitive 0
From .codeflow.yml 1
Additional review requirements
Show calculation
Max 0
0
From CODEOWNERS 0
Global minimum 0
Max 1
1
1 if commit is unverified 1
Sum 2

New MCP tool voucher_list_by_creator, live batch/card redemption reads,
and agent prompts for checking unredeemed vouchers.
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.

2 participants