본문으로 건너뛰기
Skillpedia
분석 및 스프레드시트7.0k · #13646

nansen-mpp-payment

하는 일

이 스킬은 별도의 tempo 명령줄 도구가 실행하는 호출 단위 결제 시스템인 MPP로 Nansen 데이터를 사용하게 합니다. API 키나 직접 관리하는 지갑 없이 접근하고 싶은 사람을 위한 스킬입니다.

사용하는 경우

  • ✓Nansen API 키를 설정하지 않고 Nansen 데이터를 쓰고 싶을 때.
  • ✓이미 tempo 도구를 쓰고 있고 같은 결제 시스템에서 Nansen을 쓰고 싶을 때.
  • ✓Base나 Solana 지갑에 직접 자금을 넣고 관리하고 싶지 않을 때.

스킬 링크

https://github.com/internet-court/internet-court-skill/blob/main/vendored/nansen/nansen-mpp-payment/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/internet-court/internet-court-skill/blob/main/vendored/nansen/nansen-mpp-payment/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“API 키 없이 tempo로 호출당 결제하며 Nansen 데이터를 사용하게 해 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

여러분은 tempo 도구를 따로 설치하고 로그인한 뒤, 그 지갑에 USDC를 넣습니다. 그다음 에이전트는 tempo 요청 명령으로 Nansen API를 호출하며, 결제 요구와 응답은 이 명령이 자동으로 처리합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

MPP / Tempo

The Nansen API supports three paid-access rails: API key, x402 (handled by nansen-cli), and MPP via Tempo (handled by the separate tempo CLI). This skill covers the third.

nansen-cli does not sign MPP credentials. Use this skill when the user wants to call the Nansen API through tempo request because they already use tempo, want micropayments without managing wallet keys themselves, or don't want to fund a Base/Solana USDC wallet.

For API-key auth, see nansen-wallet-manager. For x402 micropayment with a local wallet, see nansen-trading / nansen-wallet-manager.

When to use this skill

  • User says "MPP", "tempo", "Authorization: Payment", or "Payment-Receipt".
  • User has no Nansen API key and doesn't want to set up a Base/Solana wallet.
  • User is already paying for other APIs through tempo and wants Nansen on the same rail.

One-time setup

# 1. Install the tempo CLI
curl -fsSL https://tempo.xyz/install | bash
# 2. Log in (creates / unlocks the tempo wallet)
tempo wallet login
# 3. Fund it with USDC on the chain tempo selects for your environment
tempo wallet fund
# 4. Confirm the wallet is ready
tempo wallet whoami

Calling the Nansen API

tempo request handles the full MPP challenge/response: it sends the request, signs the Authorization: Payment credential when the API responds 402 + WWW-Authenticate: Payment ..., retries, and exposes the Payment-Receipt header on success.

# Smart Money netflow
tempo request POST https://api.nansen.ai/api/v1/smart-money/netflow \
  --json '{"chains":["solana"],"pagination":{"page":1,"page_size":10}}'

# TGM holders
tempo request POST https://api.nansen.ai/api/v1/tgm/holders \
  --json '{"token_address":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","chain":"solana"}'

Endpoint paths and request shapes are the same as the rest of the Nansen API — run nansen schema <command> (no API key required) to look up the body shape, then call the matching /api/v1/... path through tempo request.

Discovering paid endpoints

curl https://api.nansen.ai/.well-known/x402

Returns paymentProtocols: ["x402", "mpp"] (when MPP is enabled server-side) and the list of paid resources.

How MPP differs from x402

x402 (nansen-cli native) MPP via tempo (this skill)
Header sent on retry Payment-Signature: <base64> Authorization: Payment <credential>
402 challenge header Payment-Required: <base64> WWW-Authenticate: Payment ...
Success header (none) Payment-Receipt: <base64>
Wallet local, Privy, or WalletConnect — managed by nansen-cli tempo-managed (separate CLI)
Chains Base USDC, Solana SPL USDC, X Layer USDT0 Tempo's chain (mainnet USDC in prod, moderato pathUSD in dev)
nansen-cli code path src/x402.js auto-signs on 402 not handled — call via tempo request directly

Notes

  • MPP is server-side opt-in. If tempo request returns a 402 without WWW-Authenticate: Payment, MPP isn't enabled for that endpoint/environment — fall back to an API key or x402.
  • Don't try to add --mpp-* flags to nansen-cli — the supported integration is "use tempo separately". If the user asks for tighter integration, point them at this skill and confirm the requirement before adding code.
  • Per-request price is the same as x402 (1 credit ≈ $0.001 with 10x markup, e.g. 1-credit endpoints cost $0.01).

Source

자주 묻는 질문

추가로 설치해야 하는 것이 있나요?

네. 이 스킬을 쓰기 전에 별도의 tempo 명령줄 도구를 설치하고 로그인해야 합니다.

nansen-cli가 이 결제에 서명하나요?

아니요. 스킬은 nansen-cli가 MPP 자격 증명에 서명하지 않으며, 서명은 tempo 도구가 한다고 말합니다.

이미 Nansen API 키가 있다면 어떻게 하나요?

스킬은 API 키 접근을 위한 다른 가이드를 가리킵니다.

상세 정보

작성자의 원본 설명

Pay-per-call access to the Nansen API via MPP (Tempo). Use when a user wants anonymous Nansen access without an API key and without managing their own Base/Solana wallet — they install the tempo CLI separately and call the API through `tempo request`.

repo: internet-court/internet-court-skill

인기도

GitHub 스타
7.0k
순위
#13646
라이선스
—
업데이트
2026. 10. 26.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬