Access Account in Ethereum
Last updated
Last updated
User accounts are used in a variety of contexts in Ethereum, including as identifiers and for . To request a signature from a user or have a user approve a transaction, your dapp must access the user's accounts using the RPC method.
When accessing a user's accounts:
Only initiate a connection request in response to direct user action, such as selecting a connect button.
Always disable the connect button while the connection request is pending.
Never initiate a connection request on page load.
We recommend providing a button to allow users to connect Sender to your dapp. Selecting this button should call to access the user's account.