tgw
Installation
SKILL.md
tgw CLI
tgw is a command-line tool for TON blockchain. Check balances, send transfers, swap tokens on DEX, resolve .ton names, and manage agent wallets — all from the terminal.
Install: npm i -g @tongateway/cli
Authentication
tgw auth
# → generates a connect link: https://tongateway.ai/connect?authId=...
# → open the link, connect your wallet
tgw auth:complete <authId>
# → completes auth, saves token, prints wallet address
tgw auth <token>
# → saves token directly (if you already have one)