TONTONDocs
Get started

AppKit get started guides

Overview

Follow this section end-to-end to take a fresh project from zero to a working AppKit app. Each page is one concrete action.

The first four pages get the baseline running — install the packages, register a connector, read wallet and chain state, and send a transaction. From that point the app is functional. The remaining pages are improvements that layer on live updates, DeFi flows, and ready-made UI.

Step by step

StepWhat you do
Prepare your projectScaffold a project if you have none, install AppKit, and add the Buffer polyfill.
Add wallet connectorsCreate the AppKit instance and drop in <TonConnectButton />.
Add networksConfigure mainnet alongside testnet and pick an API client.
Use basic getter hooksRead wallet, address, balance, jetton, NFT, network, and transaction state.
Send transactionsSend Toncoin, jettons, NFTs, or prepared transactions.
Stream live updatesSubscribe to balance, jetton, and transaction changes in real time.
Add DeFi providersPlug in swap and staking providers when the app needs DeFi flows.
Use UI widgetsDrop in <SwapWidget />, <StakingWidget />, and other prebuilt flows.

Next steps

Last updated on

On this page