ton-swap
/ton-swap
Wymienia tokeny w sieci TON przez DEX, np. GRAM na USDT, i pomaga przy kupnie, sprzedaży lub konwersji jettonów.
- Autor
- ton-connect ↗
- Repozytorium
- kit ↗
- Licencja
- MIT
- Ostatnia zmiana repozytorium
- 08.07.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 1
- Skrypty
- 0
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 0
Brak sygnałów. Repozytorium zmienione 08.07.2026, bez odwołań do wycofanych modeli i API.
MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.
Co robi i kiedy
Wymienia tokeny w sieci TON przez DEX, np. GRAM na USDT, i pomaga przy kupnie, sprzedaży lub konwersji jettonów.
Wyzwalacze z opisu
Oryginalny opis (EN)
Swap or trade tokens on the TON blockchain via DEX. Use when the user wants to swap, trade, exchange, convert, buy, or sell tokens like GRAM (ex. TON), USDT, jUSDC, or any jetton. Covers phrases like "swap GRAM (ex. TON) for USDT", "trade tokens", "buy USDT", "exchange jettons".
Jak działa
- MCP Tools
- Workflow
- Notes
Podgląd SKILL.md
--- name: ton-swap description: Swap or trade tokens on the TON blockchain via DEX. Use when the user wants to swap, trade, exchange, convert, buy, or sell tokens like GRAM (ex. TON), USDT, jUSDC, or any jetton. Covers phrases like "swap GRAM (ex. TON) for USDT", "trade tokens", "buy USDT", "exchange jettons". user-invocable: true disable-model-invocation: false --- # Swap TON Tokens Swap tokens on TON via DEX aggregator. Two-step flow: get a quote, confirm with the user, then execute. ## MCP Tools | Tool | Required | Optional | | ---- | -------- | -------- | | `get_swap_quote` | `fromToken`, `toToken`, `amount` | `walletSelector` | | `emulate_transaction` | `messages` | `validUntil` | | `send_raw_transaction` | `messages` | `walletSelector` | | `get_known_jettons` | — | — | ## Workflow 1. If the user mentions a token by name (e.g., "USDT", "jUSDC"), call `get_known_jettons` to resolve the jetton address 2. Call `get_swap_quote` with `fromToken`, `toToken`, and `amount` - Use `"TON"` for native GRAM (ex. TON), or the jetton master contract address for tokens - Amount is human-readable (e.g., `"1.5"` = 1.5 GRAM (ex. TON)) 3. Call `emulate_transaction` with the quote's `transaction.messages` to dry-run the swap — verify the expected money flow (GRAM (ex. TON)/jetton balance changes) before sending 4. Show the quote details and emulation results to the user and ask one short yes/no confirmation 5. Call `send_raw_transaction` with the transaction params returned by the quote 6. Poll `get_transaction_status` with the returned `normalizedHash` until status is `completed` or `failed` (see `ton-balance` skill). User can ask to skip polling. ## Notes - Always confirm the swap with the user before executing; prefer the host client's structured confirmation UI when available, otherwise accept natural-language yes/no and do not require a fixed confirmation phrase - The quote returns transaction messages ready for `send_raw_transaction` - After execution, poll `get_transaction_status` by default. User can specify whether to check status. - If no wallet is configured, use the `ton-create-wallet` skill first
Wersje
W bazie nie ma innych skilli o nazwie ton-swap.
Migawka bazy z 28.10.2026 · wersja paczki e5db0389b24a (skrót SHA-256 całej paczki)
Pobrania w ostatnich 30 dniach: 0 · ranking
Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.
Podobne skille
- 90ton-send
Wysyła GRAM lub tokeny jetton na adres albo domenę TON DNS, np. do płatności za usługę. - 100ton-xstocks
Kupuje i sprzedaje tokeny akcji xStocks na TON przez adresy jettonów i narzędzia wymiany, np. dla TSLAx. - 100trade
Wymienia tokeny na sieciach Base i Polygon, np. kupuje ETH za USDC lub zamienia USDC na ETH, przez portfel awal. - 100tron-swap
Pobiera wycenę i wybiera trasę wymiany tokenów w sieci TRON, agregując płynność z kilku DEX-ów, takich jak SunSwap. - 100moonpay-swap-tokens
Wymienia tokeny w tej samej sieci albo przenosi je między sieciami blockchain przez bridge. - 87okx-dex-swap
Wymienia tokeny między łańcuchami, podaje wycenę i najtańszą trasę przez agregator OKX z ochroną przed poślizgiem ceny.