Learn how to authenticate users, create embedded wallets, and send transactions in your React Native app
useLoginWithEmail
hook.
sendCode
and loginWithCode
to authenticate your user per the instructions below.
sendCode
method returned from useLoginWithEmail
:
request
method to send JSON-RPC requests that request signatures and transactions from the wallet!The request
method accepts an object with the fields:method
(required): the name of the JSON-RPC method as a string (e.g. personal_sign
or eth_sendTransaction
)params
(optional): an array of arguments for the JSON-RPC method specified by method