tonweb

TonWeb JavaScript SDK for TON. Wallets, BOC, HttpProvider, NFT, Jetton, DNS.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "tonweb" with this command: npx skills add hairyf/blockchain-skills/hairyf-blockchain-skills-tonweb

Based on tonweb v0.0.66, generated 2026-02-25.

TonWeb is the JavaScript API for the TON blockchain: wallet contracts, BOC/Cell, TonCenter HttpProvider, NFT/Jetton, DNS, payments, block subscription.

Core References

TopicDescriptionReference
OverviewInstallation, provider, root APIcore-overview
TonWeb instanceRoot class, getTransactions, getBalance, sendBoc, callcore-tonweb-instance
Address and utilsAddress, toNano/fromNano, bytes/hex/base64, BN, naclcore-address-utils
BOCCell, BitString, fromBoc/oneFromBoccore-boc
SliceParsing BOC: beginParse, loadBit, loadUint, loadAddress, loadRefcore-slice
Contract basedeploy, methods, getQuery/send/estimateFee, createStateInitcore-contract
HttpProvidergetAddressInfo, getWalletInfo, sendBoc, call/call2core-http-provider
HttpProviderUtilsparseResponse, parseObject — parse get-method stack to BN/Cellcore-http-provider-utils
Transfer URLparseTransferUrl, formatTransferUrl (ton://transfer/...)core-transfer-url
WorkchainWorkchainId Master/Basic, wc for addresses and contractscore-workchain
Utils extraAdnlAddress, StorageBagId; keyPairFromSeed, newKeyPair, newSeedcore-utils-extra
Estimate feeestimateFee on methods, getEstimateFee(boc) on providercore-estimate-fee

Features

TopicDescriptionReference
Walletcreate, deploy, transfer, seqno, V2/V3/V4features-wallet
Highload walletHighloadWalletContractV3, HighloadQueryIdfeatures-highload-wallet
Lockup walletliquid/locked/restricted balancesfeatures-lockup-wallet
Lockup vestingVestingWalletV1: vesting schedule, getLockedAmount, getVestingDatafeatures-lockup-vesting
NFTNftCollection, NftItem, NftMarketplace, NftSalefeatures-nft
JettonJettonMinter, JettonWallet, transfer, burnfeatures-jetton
NFT content & royaltyNftUtils: offchain URI cell, parseOffchainUriCell, getRoyaltyParamsfeatures-nft-content-royalty
DNSresolve, getWalletAddress, getSiteAddressfeatures-dns
LedgerAppTon, getPublicKey, getAddress, sign, transfer; TransportWebUSB/HID/BLEfeatures-ledger
PaymentsPaymentChannel, createChannelfeatures-payments
Block subscriptionBlockSubscription, InMemoryBlockStoragefeatures-block-subscription
Subscription contractRecurring payments: pay, getSubscriptionDatafeatures-subscription
Wallet parsingparseTransferQuery, parseTransferBody (V3/V4 transfer BOC)features-wallet-parsing

Best practices

TopicDescriptionReference
Custom contractExtend Contract, createDataCell, message buildersbest-practices-custom-contract
Error handlingexit_code, parseResponse throws, provider/send errorsbest-practices-error-handling

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Web3

openzeppelin-contracts

No summary provided by upstream source.

Repository SourceNeeds Review
Web3

viem

No summary provided by upstream source.

Repository SourceNeeds Review
Web3

ton

No summary provided by upstream source.

Repository SourceNeeds Review
Web3

solana-anchor

No summary provided by upstream source.

Repository SourceNeeds Review