iTechGuides is reader-supported. When you buy through links on our site, we may earn an affiliate commission. As an Amazon Associate I earn from qualifying purchases. Learn more
If your app already has TON Connect set up, use Omniston Widget’s integrated mode and pass the existing instance in tonconnect.instance. Do not create a second TonConnect instance for the widget: STON.fi warns that multiple TON Connect instances can crash the application.
Pass the existing instance to the widget
Initialize TON Connect once in your application, then give that same object to Omniston Widget. Replace the example variable below with the instance your app already uses.
import { TonConnect } from '@tonconnect/sdk';
import OmnistonWidgetLoader from '@ston-fi/omniston-widget-loader';
const tonconnect = new TonConnect({
manifestUrl: 'https://YOUR_APP_HOST/tonconnect-manifest.json',
});
const OmnistonWidget = await OmnistonWidgetLoader.load();
const widget = new OmnistonWidget({
tonconnect: {
type: 'integrated',
instance: tonconnect,
},
});
widget.mount(document.querySelector('#omniston-widget-container'));
The constructor accepts a TON Connect instance from @tonconnect/sdk or a TonConnectUI instance from @tonconnect/ui-react. See STON.fi’s Omniston Widget guide for the full configuration reference and examples.
What’s actually slowing this PC down?
Pick the symptom - the matching free tool is one click away.
Set up the manifest and dependencies
- Use your app’s existing TON Connect dependency and instance. Install
@ston-fi/omniston-widget-loader. Add@tonconnect/sdkonly if your app does not already use it; do not add a second instance just for the widget. - Host a TON Connect manifest for your application. Configure the existing TON Connect object or provider with that manifest URL. STON.fi says the manifest must be hosted on the same domain as the application; wallets reject connections when the domains do not match.
- Load and create the widget. Load the constructor, then set
tonconnect.typetointegratedandtonconnect.instanceto the already initialized object. - Mount only after the container exists. Pass the container DOM node to
widget.mount(...). If the selector returnsnull, render or locate the container before mounting.
Choose integrated mode when your app owns wallet state
Omniston documents two connection modes. Choose according to who already manages TON Connect:
#1 Best Overall
- Proven security at scale: Over 9 years and millions of cards issued with no known remote hacks, while military‑grade EAL6+ security keeps your private keys locked inside the chip. Your cryptocurrencies stay strongly protected from online attackers.
- Tap once to manage your entire crypto wallet across 90 blockchains - no USB cables or Bluetooth, no batteries, no setup. Access 14,100+ coins & tokens, DeFi, NFTs, and staking instantly from your phone
- Smart backup: Use your second Tangem Wallet as your Backup keys with end‑to‑end encryption; no more papers, pictures. If one card is lost, the remaining can still restore full access, with an optional seed phrase available for advanced users.
- Engineered to last up to 25 years: Waterproof (IP69K), shockproof and tested for extreme temperatures from −25°C to 50°C. A durable cold wallet with long‑term protection and independently audited security.
- Trusted by 6 million users worldwide - buy, sell, swap, stake, and spend cryptocurrency directly. The secure offline storage wallet designed for how people actually use crypto wallets
| Mode | Who initializes TON Connect | When to use it |
|---|---|---|
integrated |
Your application or its TON Connect provider | Your app already manages wallet state and the widget should use the same connection. Pass the existing instance. |
standalone |
The widget, using a manifest URL | A simpler site does not manage TON Connect elsewhere and wants the widget to initialize its connection. |
These modes are not interchangeable ways to create a second connection. When the app already has an instance, integrated mode shares it with the widget. STON.fi’s guide states that only one TON Connect instance can exist in an application because of SDK limitations and warns that multiple instances can crash the app.
Mount and clean up in React
In React, retrieve the UI instance from the TON Connect provider, load the widget asynchronously, mount it into a ref-backed element, and unmount it when the component cleans up. The official widget guide includes a React example using useTonConnectUI().
Rank #2
- Proven security at scale: Over 9 years and millions of cards issued with no known remote hacks, while military‑grade EAL6+ security keeps your private keys locked inside the chip. Your cryptocurrencies stay strongly protected from online attackers.
- Tap once to manage your entire crypto wallet across 90 blockchains - no USB cables or Bluetooth, no batteries, no setup. Access 14,100+ coins & tokens, DeFi, NFTs, and staking instantly from your phone
- Smart backup: Use your second Tangem Wallet as your Backup keys with end‑to‑end encryption; no more papers, pictures. If one card is lost, the remaining can still restore full access, with an optional seed phrase available for advanced users.
- Engineered to last up to 25 years: Waterproof (IP69K), shockproof and tested for extreme temperatures from −25°C to 50°C. A durable cold wallet with long‑term protection and independently audited security.
- Trusted by 6 million users worldwide (4.9 App Store, 4.8 Google Play) - buy, sell, swap, stake, and spend cryptocurrency directly. The secure offline storage wallet designed for how people actually use crypto wallets
import { useEffect, useRef } from 'react';
import { useTonConnectUI } from '@tonconnect/ui-react';
import OmnistonWidgetLoader from '@ston-fi/omniston-widget-loader';
function OmnistonWidgetContainer() {
const [tonConnectUI] = useTonConnectUI();
const containerRef = useRef(null);
useEffect(() => {
let widget;
let cancelled = false;
async function mountWidget() {
const OmnistonWidget = await OmnistonWidgetLoader.load();
if (cancelled || !containerRef.current) return;
widget = new OmnistonWidget({
tonconnect: {
type: 'integrated',
instance: tonConnectUI,
},
});
widget.mount(containerRef.current);
}
mountWidget();
return () => {
cancelled = true;
widget?.unmount();
};
}, [tonConnectUI]);
return <div ref={containerRef} id="omniston-widget-container" />;
}
This pattern prevents a delayed loader result from mounting after the component has already been removed. Confirm the cleanup method and constructor types against the package versions in your project; STON.fi’s published pages do not provide a compatibility matrix for every TON Connect SDK or UI release.
Crashes, No Sound, or Screen Glitches?
Random freezes, missing sound and display glitches usually trace back to one bad driver. Find and replace yours safely.Free scan · under a minuteWindows Errors? Fix Them Before They Spread
Repair common Windows errors and clear accumulated junk for a smoother, more stable PC - no reinstall needed.Free scan · no reinstallLoad the widget with npm or a CDN
The documented loading choices both expose the OmnistonWidget constructor:
Rank #3
- READY IN 3 MINUTES – Set up your ELLIPAL X Card crypto wallet on the offline Starter device, then tap to the ELLIPAL mobile App and start using it. This 100% offline crypto wallet is a no battery crypto wallet with no charging, no firmware updates, and no complicated setup.
- TURN ANY WALLET INTO A CARD – Already have a wallet? Import your recovery phrase from MetaMask, Trust Wallet, Ledger, Trezor, or any compatible seed phrase wallet. X Card works as a backup wallet and physical twin of your existing bitcoin wallet, ethereum wallet, NFT wallet, or altcoin wallet — no transfers, no new accounts, no starting over.
- BUILT ON AN EAL6+ SECURE CHIP – Designed as a secure crypto wallet and private key wallet, X Card generates and stores your private keys inside the EAL6+ secure chip. Your keys never reach your phone, the App, USB, Bluetooth, or the internet, making it a true no bluetooth hardware wallet and no USB crypto wallet.
- ONE APP, EVERYTHING CRYPTO – Manage more with one cold storage wallet. Buy, sell, swap, send, spend, and earn across 45+ blockchains and 10,000+ tokens. Use X Card as your cryptocurrency wallet, coins and tokens wallet, DeFi wallet, and staking wallet for everyday crypto management.
- TAP TO CRYPTO – Carry your crypto cold wallet on a card and secure every transaction with one NFC tap. ELLIPAL X Card combines the simplicity of a crypto wallet with the protection of a cold storage hardware wallet.
- NPM loader: use
@ston-fi/omniston-widget-loaderin a bundled application. It retrieves the widget bundle at runtime. - CDN script: use the documented script when you do not have a build setup. The guide uses major-versioned paths; update the major path when adopting a breaking version.
The widget loads its styles automatically. Whichever loading method you choose, integrated mode still requires passing your app’s existing TON Connect instance.
Optional widget settings
These options affect widget presentation or referral configuration; they do not change the one-instance requirement.
Rank #4
- EAL5+ CERTIFIED SECURE ELEMENT + FINGERPRINT PROTECTION — Your private keys stay encrypted offline on a certified EAL5+ chip, the same security tier used in EMV bank cards. Built by DCENT, securing crypto since 2018. Fingerprint authentication adds a second layer no PIN-only wallet can match.
- 10,000+ ASSETS NATIVE ON 100+ BLOCKCHAINS — Hold Bitcoin, Ethereum, XRP, Solana, Cardano, popular stablecoins (USDT, USDC), and NFTs in one wallet. No third-party apps, no fragmented setup — every supported asset works straight out of the box.
- TAP-TO-SIGN MOBILE EXPERIENCE — Pair your wallet with the DCENT mobile app over Bluetooth. Manage tokens, review transactions, and access in-app swap features directly from your phone — no cables, no desktop required.
- WEB3 & dAPP ACCESS VIA METAMASK — Connect to MetaMask and other browser extension wallets to manage NFTs, claim airdrops, and access dApps. A large screen and intuitive 4-button interface keep every transaction clearly visible before you sign.
- SEAMLESS FIRMWARE UPDATES & 30-DAY MONEY-BACK GUARANTEE — Apply security updates without resetting your wallet or migrating funds. Backed by Amazon's 30-day money-back guarantee — your purchase is risk-free.
- Asset defaults:
defaultBidAssetanddefaultAskAssetaccept tickers or token-root address strings.customAssetsaccepts token-root address strings. UsedefaultAssetsto retain or replace the built-in asset list. If you setdefaultAssetstofalse, provide a non-emptycustomAssetsarray or the selector will have no tradable assets. - Referral fields:
referrerAddressandreferrerFeeBpsoptionally configure a referral wallet and fee. STON.fi documents a setting of 1–100 basis points (0.01%–1%); its example of 50 basis points is 0.5%. These are configuration values, not evidence of guaranteed earnings or an external publisher affiliate program.
Troubleshoot common integration failures
- The app crashes or wallet state is inconsistent: check that the widget receives the existing instance and that no other part of the app creates a second TON Connect instance.
- A wallet rejects the connection: confirm that the manifest is hosted on the same domain as the application and that the configured URL points to that manifest.
- The widget does not appear: ensure the loader has completed, the container element exists, and the DOM node passed to
mountis not null. - The asset selector is empty: if built-in assets are disabled, supply a non-empty
customAssetslist. - React cleanup behaves unexpectedly: verify the widget is unmounted when the component is removed, and check the lifecycle API for the versions you use.
STON.fi’s documentation does not establish compatibility for every TON Connect SDK/UI version or formal lifecycle guarantees across releases. Check the current widget and package documentation when selecting versions.
Quick Recap
Best Value
- EAL5+ CERTIFIED SECURE ELEMENT + FINGERPRINT PROTECTION — Your private keys stay encrypted offline on a certified EAL5+ chip, the same security tier used in EMV bank cards. Built by DCENT, securing crypto since 2018. Fingerprint authentication adds a second layer no PIN-only wallet can match.
- 10,000+ ASSETS NATIVE ON 100+ BLOCKCHAINS — Hold Bitcoin, Ethereum, XRP, Solana, Cardano, popular stablecoins (USDT, USDC), and NFTs in one wallet. No third-party apps, no fragmented setup — every supported asset works straight out of the box.
- TAP-TO-SIGN MOBILE EXPERIENCE — Pair your wallet with the DCENT mobile app over Bluetooth. Manage tokens, review transactions, and access in-app swap features directly from your phone — no cables, no desktop required.
- WEB3 & dAPP ACCESS VIA METAMASK — Connect to MetaMask and other browser extension wallets to manage NFTs, claim airdrops, and access dApps. A large screen and intuitive 4-button interface keep every transaction clearly visible before you sign.
- SEAMLESS FIRMWARE UPDATES & 30-DAY MONEY-BACK GUARANTEE — Apply security updates without resetting your wallet or migrating funds. Backed by Amazon's 30-day money-back guarantee — your purchase is risk-free.
Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

