alchemy-agentic-gateway
Use when accessing Alchemy APIs for RPC calls, token balances, NFT metadata, asset transfers, transaction simulation, or Alchemy-specific features.
Skill by alchemyplatform
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/solizardking-alchemy-agentic-gateway
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: backend, security
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions: not checked yet.
What's inside
- Skill name
alchemy-agentic-gateway- Description
- Use when accessing Alchemy APIs for RPC calls, token balances, NFT metadata, asset transfers, transaction simulation, or Alchemy-specific features. Also use when the user mentions "SIWE", "SIWS", "x402", "MPP", "mppx", or "agentic gateway" — this skill covers wallet-based auth flows for Alchemy's x402 and MPP protocols on EVM (Ethereum, Base, Polygon) and SVM (Solana).
- License
- MIT
- Compatibility
- Requires network access. If $ALCHEMY_API_KEY is set, no additional setup needed. Otherwise requires Node.js (npx) and a wallet funded with USDC. Works across Claude.ai, Claude Code, and API.
- Metadata
- author: alchemyplatform · version: 2.0
- Instructions
- 172 lines in SKILL.md · view on GitHub
Before installing
- Instructions call the network
Files (3)
- SKILL.md
- metadata.json
- verification.json
SKILL.md (first lines)
# Alchemy Agentic Gateway
> **Notice:** This repository is experimental and subject to change without notice. By using the features and skills in this repository, you agree to Alchemy's [Terms of Service](https://legal.alchemy.com/) and [Privacy Policy](https://legal.alchemy.com/#contract-sblyf8eub).
A skill that lets agents easily access Alchemy's developer platform. Supports three access methods with different authentication and payment protocols.
## Prerequisites
**API Key path** (simplest):
- Set `ALCHEMY_API_KEY` in your environment (create a free key at https://dashboard.alchemy.com)
**x402 path** (no API key):
- Node.js 18+ with `npx` available
- A wallet funded with USDC on Base or Ethereum
**MPP path** (Merchant Payment Protocol):
- Node.js 18+ with `npx` available
- A wallet funded with USDC (on-chain via Tempo) or a Stripe card
## Protocol Selection (REQUIRED)
**BEFORE doing anything else**, you MUST determine which access method to use. Follow this decision tree:
1. **Is `ALCHEMY_API_KEY` set in the environment?**
- If **yes** → Use the **API Key** path. No further setup needed. Skip to [API Key Path](#api-key-path).
- If **no** → Proceed to step 2.
2. **Ask the user which payment protocol they prefer.** Present this prompt exactly:
> Which payment protocol would you like to use for the Alchemy Gateway?
>
> 1. **x402** — USDC payments via the x402 protocol (uses `Payment-Signature` header, `@alchemy/x402` + `@x402/fetch` libraries)
> 2. **MPP** — Payments via the Merchant Payment Protocol using Tempo (on-chain USDC, EVM only) or Stripe (credit card), via the `mppx` library
**Do NOT skip this prompt. Do NOT pick a protocol on behalf of the user.** Wait for their explicit choice before proceeding.
3. **Based on the user's choice**, follow the corresponding protocol rules:
- **x402** → Follow the x402 workflow below
- **MPP** → Follow the MPP workflow below
---
## API Key Path
If `ALCHEMY_API_KEY` is set in the environment, use standard Alchemy endpoints directly:
- **Node JSON-RPC**: `https://{chainNetwork}.g.alchemy.com/v2/$ALCHEMY_API_KEY`
- **NFT API**: `https://{chainNetwork}.g.alchemy.com/nft/v3/$ALCHEMY_API_KEY/*`
- **Prices API**: `https://api.g.alchemy.com/prices/v1/$ALCHEMY_API_KEY/*`
- **Portfolio API**: `https://api.g.alchemy.com/data/v1/$ALCHEMY_API_KEY/*`
No wallet setup, auth tokens, or payment is needed. Just make requests with the API key in the URL.
```bash
curl -s -X POST "https://eth-mainnet.g.alchemy.com/v2/$ALCHEMY_API_KEY" \
-H "Content-Type: application/json" \
-d '{"id":1,"jsonrpc":"2.0","method":"eth_blockNumber"}'
```
---
## Protocol Comparison
| Aspect | x402 | MPP |
|--------|------|-----|
| Gateway URL | `https://x402.alchemy.com` | `https://mpp.alchemy.com` |
| SIWE/SIWS domain | `x402.alchemy.com` | `mpp.alchemy.com` |
| Payment header (client→server) | `Payment-Signature: <base64>` | `Authorization: Payment <credential>` |
| Challenge header (server→client) | `PAYMENT-REQUIRED` | `WWW-Authenticate` |
| Protocol version | `x402/2.0` | `mpp/1.0` |
| Auth | SIWE (EVM) or SIWS (Solana) | SIWE only (EVM) |
| Payment methods | USDC via EIP-3009 (EVM) or SVM x402 (Solana) | Tempo (on-chain USDC) + Stripe (card) |
| Client library | `@alchemy/x402`, `@x402/fetch`, `@x402/axios` | `mppx`, `viem` |
Full protocol documentation: https://www.alchemy.com/docs
---
## x402 Workflow
1. **Bootstrap wallet** — create a wallet and fund it with USDC
2. **Generate SIWE/SIWS auth token** — sign a message proving wallet ownership
3. **Make a request** — send to `https://x402.alchemy.com/{chainNetwork}/v2` with `Authorization: SIWE <token>`
4. **Handle 402** — if server returns 402 with `PAYMENT-REQUIRED` header, run `npx @alchemy/x402 pay` and extract the `Payment-Signature`
5. **Retry** — resend the original request adding `Payment-Signature: <base64>` header
```bash
# Install x402 client
npm install -g @alchemy/x402 @x402/fetch
# Step 1: Generate a SIWE auth token for your EVM wallet
SIWE_TOKEN=$(npx @alchemy/x402 sign-siwe --private-key <key-or-path>)
# Step 2: Make a request (will return 402 on first call)
curl -s -X POST "https://x402.alchemy.com/eth-mainnet/v2" \
-H "Authorization: SIWE $SIWE_TOKEN" \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":1,"method":"eth_blockNumber","params":[]}'
# Step 3: If 402 received, pay the challenge and retry with Payment-Signature
# npx @alchemy/x402 pay (pass the PAYMENT-REQUIRED header value)
```
---
## MPP Workflow
1. **Bootstrap wallet** — create an account and fund it with USDC or link a Stripe card
2. **Make a request** — `mppx` handles SIWE auth and MPP payment automatically
3. **Handle 402** — `mppx` intercepts 402 responses and pays the challenge transparently
```bash
# Install mppx
npm install -g mppx
# Create an account (one-time setup)
mppx account create
# Fund the account
mppx account fundFrom Solizardking/skillhub-main, MIT.
More from Solizardking/skillhub-main
- 0.516score
agentic-wallet
Solizardking
Crypto wallet operations via the awal CLI — sign in, check balances, send USDC/ETH/POL/SOL, trade tokens, fund the wallet, and use the x402 payment protocol…
SkillBFreshness: BClaude Code +9 - 0.500score
huashu-design
Solizardking
花叔Design——用HTML做高保真原型、幻灯片、动画、可视化与专家评审。任何新设计100%先出三个方向初稿给用户选(指定风格/品牌也不豁免),选定后才执行。触发词:做原型、PPT、幻灯片、动画、设计风格、评审、做个HTML页面、UI mockup、导出MP4/GIF、做个好看的。生产级Web…
SkillBFreshness: BClaude Code +9 - 0.466score
migrate-radix-to-base
Solizardking
Migrates React projects and components from Radix UI to Base UI.
SkillCFreshness: CClaude Code +9 - 0.463score
agent-browser
Solizardking
Use the host-side `agent-browser` CLI for local browser smoke tests, screenshots, snapshots, and simple UI validation against forwarded localhost URLs.
SkillCFreshness: CClaude Code +9 - 0.463score
agent-desktop
Solizardking
Use the built-in `Computer` sub-agent with `agent-desktop` for macOS desktop automation.
SkillCFreshness: CClaude Code +9 - 0.437score
agent-orchestration-handoff
Solizardking
Compact the current conversation into a single, detailed handoff message — everything that happened, why it happened, and what's left — output in a code block…
SkillCFreshness: CClaude Code +9
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Aug 13, 2026 (2 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- Version
- 2.0
- License
- MIT
- Repository
- github.com/Solizardking/skillhub-main
- Website
- skills.x402.wtf
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
Same skill elsewhere
Copies of this SKILL.md published by others; search shows only one of them.
More from alchemyplatform
- 0.599score
alchemy-agentic-gateway
alchemyplatform
Use when accessing Alchemy APIs for RPC calls, token balances, NFT metadata, asset transfers, transaction simulation, or Alchemy-specific features.
SkillDFreshness: D★ 111Claude Code +9 - 0.599score
alchemy-api
alchemyplatform
Integrates Alchemy blockchain APIs using an API key.
SkillDFreshness: D★ 111Claude Code +9 - 0.555score
alchemy
alchemyplatform
Blockchain API access via Alchemy.
SkillCFreshness: C★ 16Claude Code +9 - 0.437score
agentic-gateway
alchemyplatform
Use when an agent wants to access Alchemy APIs without an API key.
SkillDFreshness: D★ 1Claude Code +9 - 0.437score
alchemy-api
alchemyplatform
Requires $ALCHEMY_API_KEY to be set.
SkillDFreshness: D★ 1Claude Code +9
Cite this page
alchemy-agentic-gateway skill. Agent Mart. https://agentmart.dev/skills/solizardking-alchemy-agentic-gateway (last updated 2026-10-24)