useTonConnect
Allows you to connect to wallet providers to access wallet address and wallet balance and network information
// Import
import { useTonConnect } from "@xircus-web3/ton-react"
// Declare
const wallet = useTonConnect()
// or const { connectMetamask } = useWallet()
// Usage
return <button onClick={wallet.connect}>Connect</button>Fields
Name
Description
Last updated