@tomo-inc/social-account-sdk
v0.0.25
Published
for wallet developers
Readme
@tomo-inc/social-account-sdk
for wallet developers
demo: https://github.com/tomo-inc/tomo-wallet-demo
cookbook: https://github.com/tomo-inc/tomo-wallet-demo/blob/main/src/social-wallet-demo.md
features
- support x(twitter) + google login
- support emai login
- only support evm
wallet api
- supportedChains: support chains
- getChainInfo
- isChainSupported
- getTransactions(transaction history)
evm api
- eth_accounts https://docs.metamask.io/wallet/reference/json-rpc-methods/eth_accounts/
- eth_chainId https://docs.metamask.io/wallet/reference/json-rpc-methods/eth_chainid/
- wallet_switchEthereumChain https://docs.metamask.io/wallet/reference/json-rpc-methods/wallet_switchethereumchain/
- personal_sign https://docs.metamask.io/wallet/reference/json-rpc-methods/personal_sign/
- eth_signTypedData_v4 https://docs.metamask.io/wallet/reference/json-rpc-methods/eth_signtypeddata_v4/
- eth_getTransactionCount(nonce) https://docs.metamask.io/wallet/reference/json-rpc-methods/eth_gettransactioncount/
- eth_getBalance https://docs.metamask.io/wallet/reference/json-rpc-methods/eth_getbalance/
- eth_estimateGas https://docs.metamask.io/wallet/reference/json-rpc-methods/eth_estimategas/
- eth_signTransaction https://docs.metamask.io/snaps/reference/keyring-api/chain-methods/#eth_signtransaction
- sendTransaction https://docs.metamask.io/services/reference/solana/json-rpc-methods/sendtransaction/
- getTransaction https://docs.metamask.io/services/reference/solana/json-rpc-methods/gettransaction/
