emblem-token-swap
정보
이 스킬은 EmblemAI/ChangeNow 통합을 통해 6개의 주요 블록체인에서 토큰 스왑과 크로스체인 자산 브리징을 실행할 수 있도록 개발자에게 제공됩니다. 스왑 경로를 자동으로 최적화하고 크로스체인 트랜잭션을 처리합니다. 애플리케이션에서 프로그래밍 방식으로 암호화폐를 스왑, 교환 또는 브리징해야 할 때 사용하세요.
빠른 설치
Claude Code
추천npx skills add EmblemCompany/Agent-skills -a claude-code/plugin add https://github.com/EmblemCompany/Agent-skillsgit clone https://github.com/EmblemCompany/Agent-skills.git ~/.claude/skills/emblem-token-swapClaude Code에서 이 명령을 복사하여 붙여넣어 스킬을 설치하세요
문서
Emblem Token Swap
Guided token swapping powered by EmblemAI. Swap tokens on Solana, Ethereum, Base, BSC, Polygon, and Hedera with automatic routing. Cross-chain bridging via ChangeNow.
Requires: npm install -g @emblemvault/agentwallet
What This Skill Can Do
| Chain | Quote Tool | Swap Tool | Balance Tool | Token Search |
|---|---|---|---|---|
| Solana | splBuyIntent (quote mode) | splBuyIntent (swap mode) | solanaBalances | findSolanaSwapToken |
| Ethereum | ethSwapQuote | ethSwap | ethGetBalances | searchCryptoByName |
| Base | baseSwapQuote | baseSwap | baseGetBalances | searchEvmTokensBirdeye |
| BSC | bscSwapQuote | bscSwap | bscGetBalances | searchEvmTokensBirdeye |
| Polygon | polygonSwapQuote | polygonSwap | polygonGetBalances | searchEvmTokensBirdeye |
| Hedera | hederaTokensSwapQuote | hederaTokensSwap | hederaGetBalances | hederaFindTokens |
| Cross-chain | getChangeNowSwapQuote | swapUsingChangeNow | — | getChangeNowSupportedCurrencies |
Notes
- Solana uses
splBuyIntentfor both quotes and execution — it handles token lookup by name/symbol/CA and flexible amounts ($USD, SOL, or token quantity) - EVM chains (Ethereum, Base, BSC, Polygon) route through automatic DEX aggregation
- Cross-chain bridges via ChangeNow support 500+ currencies
- Bitcoin has balance support (
getBTCBalances) but no on-chain swap tools — use ChangeNow for BTC bridges
Quick Start
npm install -g @emblemvault/agentwallet
# Solana swap (uses splBuyIntent)
emblemai --agent --profile default -m "Use splBuyIntent to swap 5 SOL for USDC on Solana"
# Cross-chain bridge (uses ChangeNow)
emblemai --agent --profile default -m "Use getChangeNowSwapQuote to get a quote for bridging 0.05 ETH from Ethereum to SOL on Solana"
Trigger phrases:
- "Swap SOL to USDC"
- "Exchange ETH for USDT"
- "Convert my tokens"
- "Bridge tokens to Base"
Workflow: Safe Token Swap
Step 1: Check Balance
Confirm you have enough of the source token.
emblemai --agent --profile default -m "Use solanaBalances to show my Solana token balances"
Step 2: Get a Quote
Preview the swap before executing.
emblemai --agent --profile default -m "Use splBuyIntent to get a quote for swapping 5 SOL to USDC"
Step 3: Execute the Swap
emblemai --agent --profile default -m "Use splBuyIntent to swap 5 SOL for USDC on Solana"
Safe mode requires your confirmation before executing.
Step 4: Verify
Confirm the new balance.
emblemai --agent --profile default -m "Use solanaBalances to show my updated balances"
Swap Patterns
Solana Swaps
# By token amount
emblemai --agent --profile default -m "Use splBuyIntent to swap 0.5 SOL for USDC"
# By dollar amount
emblemai --agent --profile default -m "Use splBuyIntent to swap $20 of SOL for JUP"
# By token name
emblemai --agent --profile default -m "Use splBuyIntent to swap 100 USDC for BONK"
EVM Swaps
# Ethereum
emblemai --agent --profile default -m "Use ethSwapQuote to get a quote for swapping 0.01 ETH to USDC, then use ethSwap to execute"
# Base
emblemai --agent --profile default -m "Use baseSwapQuote to quote 0.005 ETH to USDC on Base"
# BSC
emblemai --agent --profile default -m "Use bscSwapQuote to quote 0.1 BNB to USDT on BSC"
# Polygon
emblemai --agent --profile default -m "Use polygonSwapQuote to quote 10 POL to USDC on Polygon"
Hedera Swaps
emblemai --agent --profile default -m "Use hederaTokensSwapQuote to get a quote for 100 HBAR to USDC, then use hederaTokensSwap to execute"
Cross-Chain Bridge
emblemai --agent --profile default -m "Use getChangeNowSwapQuote to quote bridging 0.1 ETH to SOL"
emblemai --agent --profile default -m "Use getChangeNowSupportedCurrencies to show available bridge currencies"
Communication Rules
Always include these in swap requests:
- Tool name — specify the exact tool for reliable routing
- Amount — dollar value or token quantity
- Source token — what you're swapping from
- Target token — what you're swapping to
| Bad | Good |
|---|---|
"swap sol usdc" | "Use splBuyIntent to swap 5 SOL for USDC" |
"buy eth" | "Use ethSwap to swap 100 USDC to ETH on Ethereum" |
"bridge" | "Use getChangeNowSwapQuote to bridge 0.05 ETH to SOL" |
Safety
All swaps require explicit user confirmation (safe mode). The agent will:
- Show you the swap details (amount, route, estimated output)
- Wait for your approval before executing
- Report the transaction result
Never bypasses confirmation for any value-moving operation.
Helper Script
bash scripts/swap-helper.sh
See scripts/swap-helper.sh for an interactive swap walkthrough.
Links
GitHub 저장소
연관 스킬
llamaguard
기타LlamaGuard는 폭력 및 혐오 발언 등 6가지 안전 범주에서 LLM 입력과 출력을 조정하기 위한 Meta의 70-80억 파라미터 모델입니다. 94-95% 정확도를 제공하며 vLLM, Hugging Face 또는 Amazon SageMaker를 사용해 배포할 수 있습니다. 이 기술을 사용하여 AI 애플리케이션에 콘텐츠 필터링 및 안전 가드레일을 손쉽게 통합하세요.
cost-optimization
기타이 Claude Skill은 리소스 적정화, 태깅 전략, 지출 분석을 통해 개발자들이 클라우드 비용을 최적화할 수 있도록 지원합니다. AWS, Azure, GCP에서 클라우드 비용을 절감하고 비용 거버넌스를 구현하기 위한 프레임워크를 제공합니다. 인프라 비용을 분석하거나, 리소스를 적정화하거나, 예산 제약을 충족해야 할 때 사용하세요.
quantizing-models-bitsandbytes
기타이 스킬은 bitsandbytes를 사용하여 LLM을 8비트 또는 4비트 정밀도로 양자화하며, 최소한의 정확도 손실로 50-75%의 메모리 감소를 달성합니다. 제한된 GPU 메모리에서 더 큰 모델을 실행하거나 추론을 가속화하는 데 이상적이며, INT8, NF4, FP4와 같은 형식을 지원합니다. 이 스킬은 HuggingFace Transformers와 통합되어 QLoRA 학습 및 8비트 옵티마이저를 가능하게 합니다.
dispatching-parallel-agents
기타이 Claude Skill은 3개 이상의 독립적인 문제를 동시에 조사하고 해결하기 위해 다중 에이전트를 배치합니다. 공유 상태나 의존성 없이 해결 가능한 무관련 장애 시나리오에 맞게 설계되었습니다. 핵심 기능은 병렬 문제 해결로, 각 독립 문제 영역마다 하나의 에이전트를 할당하여 효율성을 극대화합니다.
