OverviewHistoryStatsSecurity
npx skills add ...
Documentation
SKILL.md
npx skills add ton-connect/kit --skill ton-proof
Generate TonConnect TonProof signatures for third-party authentication. Use when the user wants to log in with a TON wallet, prove wallet ownership, authenticate to an API such as GetGems, or generate a TonProof for a domain and challenge payload.
npx skills add ton-connect/kit --skill ton-proof
Generate a signed TonConnect proof-of-ownership payload for a domain and challenge string. This proves control of the active wallet without sending a transaction.
| Tool | Required | Optional |
|---|---|---|
generate_ton_proof | domain, payload | walletSelector |
get_wallet | — | walletSelector |
domain and payload from the user or the verifying servicegenerate_ton_proof with the domain and payloadThe proof includes:
address: active wallet address in raw formatchain: TON Connect chain id (-239 for mainnet, -3 for testnet)walletStateInit: wallet state init in base64publicKey: wallet public keytimestamp: Unix timestamp used in the proofdomainLengthBytes and domainValue: signed domain metadatasignature: base64 TonProof signaturepayload: original challenge payloadwalletSelector instead of changing the active wallet for a one-off proofton-create-wallet skill first