How a non-custodial wallet works
The wallet app creates a key pair on your device and shows you a seed phrase to write down. From then on the private key never leaves the device: the app builds a transaction, signs it locally and sends it to the network. No server has to approve it, and no server can stop it.
The app itself is replaceable. Your funds live on the blockchain, not in the app, so if the developer disappears you type the phrase into another compatible wallet and carry on. That is the meaning of self-custody: you are your own bank, with the freedom and the responsibility that come with it.
Non-custodial wallets on TON
On TON a wallet is a smart contract on the blockchain that holds your GRAM and accepts only messages signed with your key. Wallet apps such as Tonkeeper and MyTonWallet create and manage that contract for you; the version you pick (v4R2, the newer W5) decides the address and features. W5, for example, can send up to 255 transfers in one request and supports gasless transfers, where a relayer pays the network fee.
Self-custody does not have to mean a paper phrase only. Telegram's built-in wallet, for example, keeps an encrypted cloud backup of the key split into three parts in different data centres; per the TON documentation you can turn the backup off and keep only the recovery phrase. A hardware wallet such as Ledger goes further: the key stays on the device, and the paired wallet app only prepares transactions for it to sign, a cold setup.
Apps connect to such a wallet through TON Connect: the wallet shares its public address, the app proposes a transaction, and you confirm or reject it in the wallet.
How DYOR works with your wallet
DYOR is a non-custodial interface. DYOR Swap finds a rate across TON DEXes and shows what you get, the price impact and the network fee; your wallet signs, and the funds go to the exchanges' contracts, never to DYOR. Adding liquidity to a pool on DYOR works the same way.
Connecting a wallet shares only its public address. DYOR cannot see your keys or move your funds, and its support never asks for a seed phrase, passwords or codes. The address converter shows your address in all its forms if you want to check what a site or an explorer displays.
The responsibility part
- Lose the seed phrase and the device, and nobody can restore the wallet.
- Sign a malicious request and nobody can reverse it: a Wallet drainer only needs your confirmation.
- Send to a wrong address and the transfer is final.
Write the phrase down offline, read every request before confirming, and keep large savings separate from the wallet you use daily.