본문으로 건너뛰기
Skillpedia
API 및 서버 (백엔드)7.0k · #13654

near-intents

하는 일

이 스킬은 EVM 체인, Solana, NEAR, TON, Stellar, Tron 사이에서 작동하는 NEAR Intents 1Click API로 체인 간 토큰 스왑을 다룹니다. 스왑 위젯, 브리지 페이지, 여러 체인 간 전송 스크립트를 만드는 개발자를 위한 스킬입니다.

사용하는 경우

  • ✓체인 사이에서 토큰을 옮기는 스왑 위젯을 만들고 싶을 때.
  • ✓서로 다른 블록체인 사이의 전송을 위한 브리지 인터페이스가 필요할 때.
  • ✓스왑 견적을 받고 상태를 추적하는 서버 스크립트가 필요할 때.

스킬 링크

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

AI에게 요청하는 예시

“사이트에 Solana와 Ethereum 사이에서 토큰을 옮길 수 있는 스왑 위젯을 만들어 주세요.”

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

작동 방식

에이전트는 지원되는 토큰 목록을 가져오고, 견적을 요청한 뒤, 출발 체인에서 입금 트랜잭션을 만듭니다. API는 입금 주소를 제공하고 결과 토큰을 자동으로 전달하며, 에이전트는 스왑이 완료될 때까지 상태를 확인합니다.

기술 내용 (원본 SKILL.md)

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

NEAR Intents Integration

Cross-chain token swaps via 1Click REST API. Get a quote, API provides deposit addresses, you build the deposit transaction and receive the resulting token automatically.

Quick Start - Pick Your Path

Use Case Start Here
React App react-swap-widget.md - Example showing the pattern
Node.js / Script server-example.md - Example showing the pattern
API Reference api-quote.md → api-tokens.md → api-status.md
Chain-specific Deposits deposit-{chain}.md

Integration Flow

GET /v0/tokens → POST /v0/quote (dry) → POST /v0/quote (wet) → Deposit TX → POST /v0/deposit/submit → GET /v0/status

Rule Categories

Priority Category Files
1 Examples react-swap-widget.md, server-example.md
2 API api-quote.md, api-tokens.md, api-status.md, api-deposit-submit.md
3 Deposits deposit-evm.md, deposit-solana.md, deposit-near.md, deposit-ton.md, deposit-tron.md, deposit-stellar.md
4 React Hooks react-hooks.md
5 Advanced intents-balance.md, passive-deposit.md

Critical Knowledge

  1. Use assetId from /v0/tokens - never construct manually
  2. dry: true = preview only, dry: false = get deposit address (valid ~10 min)
  3. Poll status until terminal: SUCCESS, FAILED, REFUNDED, INCOMPLETE_DEPOSIT
  4. Chain-to-chain is default - depositType and recipientType default to chain endpoints

Index

  1. Examples (HIGH)

  2. API Reference (CRITICAL)

  3. Chain Deposits (HIGH)

  4. React Hooks (MEDIUM)

    • react-hooks - Reusable hooks for tokens, quotes, status polling
  5. Advanced (LOW)

  6. References

    • concepts - Swap lifecycle, statuses, CEX warning, authentication

Resources

자주 묻는 질문

토큰 식별자는 어디서 얻나요?

토큰 목록 엔드포인트의 assetId를 사용하며, 직접 만들지 말라고 스킬은 말합니다.

드라이 모드는 무엇을 하나요?

드라이 견적은 스왑을 미리 보기만 합니다. 드라이가 아닌 견적은 약 10분 동안 유효한 입금 주소를 반환합니다.

어떤 체인을 다루나요?

EVM 체인, Solana, NEAR, TON, Stellar, Tron입니다.

상세 정보

작성자의 원본 설명

Cross-chain token swap integration using NEAR Intents 1Click API. Use when building swap widgets, bridge interfaces, or multi-chain transfers across EVM, Solana, NEAR, TON, Stellar, and Tron.

repo: internet-court/internet-court-skill

인기도

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

이 스킬이 유용한가요?

0

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

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬