Quick Start
To use Tomo Web SDK, you need to install the following:
npm install @tomo-inc/tomo-web-sdkor
pnpm i @tomo-inc/tomo-web-sdkPrepare the Client ID
Talk to us to create an developer account.
Log in to the Tomo Developer Dashboard.
Create a new project and copy the generated
clientId.Use this
clientIdin yourTomoContextProvider.

Initialize Tomo Web SDK
Set up TomoContextProvider using the clientId from the first step. For react framework:
For pure Javascript project:
Use Tomo
We expose the wallet state and functions through useTomo() method
To connect a wallet, call openConnectModal to display the modal.

Checking connection status:
Disconnect the wallet:
Demo
We provide a demo application to show the functionalities and UI components:
https://socialwallet-react-demo.tomo.inc/\
FAQ
How to use with Next.js?
Additionally, manually install core-js-pure.
Last updated