Quick Start
Installation
npm i @tomo-inc/tomo-telegram-sdkpnpm i @tomo-inc/tomo-telegram-sdkInitialization
// Use full features
import { TomoWalletTgSdkV2 } from '@tomo-inc/tomo-telegram-sdk';
// Initiate with UI
new TomoWalletTgSdkV2({ injected: true })
// If you do not want UI, you can use
new TomoWalletTgSdkV2()import { EthereumProvider } from '@tomo-inc/tomo-telegram-sdk/tomoEvmProvider.esm';
useEffect(() => {
const ethereumProvider = new EthereumProvider({
injected: true,
overrideRpcUrl: {
// Specify all networks you want to use here.
// Example:
// 80084: 'https://bartioXXX.rpc.berachain.com'
},
});
}, []);Use the Modal
React Framework
pure JavaScript
Connect Other Wallets
Connect/Disconnect Wallet Providers
GetWalletInfo
Last updated