Skip to main content

Ton Provider

FoxWallet uses the same protocol as TonKeeper.

Get Provider

function getProvider() {
const provider = window.foxwallet && window.foxwallet.tonconnect;
if (!provider) {
window.open("https://foxwallet.com/download");
throw `Please guide users to download from FoxWallet official website`;
}
return provider;
}