Quick Start

Please check our demo application to experience what you can do with Tomo Telegram SDK.

Installation

Tomo Telegram SDK is published and maintained through NPM. Use the following commands for installing the package.

npm i tomo-tg-wallet-sdk

Initialization

The developer can easily initiate the SDK with the following code. Currently, our SDK only supports the EVM chain. We will soon add support for TON, Bitcoin, and Solana.

import { TomoWalletTgSdkV2 } from 'tomo-tg-wallet-sdk'

new TomoWalletTgSdkV2({ injected: true })
const ethereum = window.ethereum
ethereum.request({
  method: 'eth_requestAccounts', params: [],
})

Last updated