You can either create a TON chain adapter from a TonConnectUI instance or from a TON private key:
From wallet
Use this method to use connected wallets.
From private key
Use this method to pass a private key directly.
As there are no stable public TON RPC endpoints, you will need to provide your own.