EVM Integration
Tomo Extension Wallet injects tomo_evm
into the window object in your browser. dApp can easily interact with the wallet via window.tomo_evm
. The following demo code shows how it works:
Tomo extension wallet support the following standard JSON-RPC API:
eth_requestAccounts
eth_accounts
wallet_addEthereumChain
wallet_switchEthereumChain
wallet_watchAsset
eth_sign
personal_sign
eth_signTypedData_v4
eth_chainId
eth_gasPrice
eth_getBalance
eth_call
eth_sendTransaction
...
Last updated