TL;DR: Deploying a Web3 site on TON requires a .ton domain, a TON‑compatible wallet, and a choice of decentralized hosting (TON Storage, smart contracts, or TON Sites). Follow the steps below to register the domain, configure your wallet, and make the site reachable for users.
Registering a .ton Domain#
TON’s native domain system issues human‑readable .ton addresses that point to smart contracts, wallets, or decentralized sites. The registration workflow typically includes:
- Visit a TON domain registry or a supported third‑party platform.
- Connect a TON‑compatible wallet to sign blockchain transactions.
- Search for the desired .ton name.
- Register the name by paying Toncoin ($TON) via a smart‑contract transaction.
- Link the domain to your chosen hosting solution.
Setting Up a TON Wallet#
A wallet enables domain registration, contract deployment, and transaction management.
- Choose a wallet such as Tonkeeper or MyTonWallet.
- Install the app and create a new wallet or import an existing one.
- Safely store the generated seed phrase.
- Deposit $TON into the wallet (acquired from an exchange or peer‑to‑peer transfer).
Hosting Options#
TON offers several decentralized methods for serving website content.
TON Storage
A peer‑to‑peer network for static files.
- Install the TON Storage client.
- Upload HTML, CSS, JS, and media assets.
- Obtain a cryptographic hash of the content.
- Associate the hash with your .ton domain.
Smart Contracts
For dynamic functionality.
- Write code in FunC or Tact.
- Compile to an executable format.
- Deploy via your wallet or development tools.
- Point the .ton domain to the contract address.
TON Sites
A framework for static or semi‑dynamic sites.
- Prepare the site files.
- Upload them to the TON Sites network.
- Connect the .ton domain to the uploaded content.
Making the Site Accessible#
Standard DNS does not resolve .ton names, so users need one of the following:
- TON‑compatible browsers (e.g., Tonkeeper Browser).
- Browser extensions like the TON Wallet extension.
- Web gateways such as ton.surf.
- Custom DNS resolvers for advanced users.
- TON proxy services that bypass traditional DNS.
Security Recommendations#
Smart Contracts
- Conduct security audits.
- Use vetted contract templates.
- Implement strict access controls.
.ton Domains
- Verify correct resolution settings.
- Enable multi‑signature ownership where possible.
Wallets
- Store private keys in hardware wallets or offline storage.
- Activate two‑factor authentication if supported.
- Keep seed phrases confidential.
TON Storage
- Encrypt sensitive files before upload.
- Distribute copies across multiple nodes.
- Verify file integrity with cryptographic hashes.
See also#
- How to launch a Web3 site on TON
- TON Connect
- TON Storage