This is a TON developer toolkit monorepo for building dApps, wallets, and agent integrations around TON.
- AppKit (
@ton/appkit,@ton/appkit-react) - the user-facing layer for integrating TON into Mini Apps and dApps. It provides primitives, typed React hooks, and drop-in components for wallet connection, Toncoin, Jettons, NFTs, TON DNS, swaps, and liquid staking, with TON Connect v3, embedded wallets, gasless flows, and widgets on the roadmap. Start with the AppKit README and AppKit React README. - WalletKit (
@ton/walletkit) - the wallet-side layer for custodial and non-custodial wallets. It handles TON Connect requests, sign-data, transactions, exact money-flow previews, asset reads/transfers, multi-wallet state, pluggable signers, web/mobile/extension integrations, and custodial backend use cases while keeping key-management control with the wallet. Start with the WalletKit README. - AgentKit (
@ton/mcp) - TON's entry point for machines. It exposes TON to LLM agents through the Model Context Protocol and also includes a CLI for direct tool execution, with one-line MCP client connection, on-chain actions, agentic wallet workflows, and reusable skills from the open repo. Start with the @ton/mcp README.
- AppKit Minter - dApp demo for AppKit actions, NFT minting, assets, swap, and staking. Source: apps/appkit-minter.
- WalletKit Demo Wallet - reference wallet implementation. Source: apps/demo-wallet.
pnpm install
pnpm docs:update
pnpm build
pnpm typecheck
pnpm lint
pnpm qualityFor package-specific work, use pnpm --filter <package> <script>, for example:
pnpm --filter @ton/appkit test
pnpm --filter @ton/walletkit typecheck
pnpm --filter @ton/mcp build- TON Connect Protocol - protocol specification and reference materials.
- DeepWiki: ton-connect/kit - generated repository knowledge base.
- AppKit Minter and WalletKit Demo Wallet - deployed demos.
This repository is licensed under the MIT License.