Sign in Applications in Ethereum

Once you have Sender installed, you'll be able to sign in and interact with the applications in Ethereum chain.

Sign In

To interact with smart contracts, users need to sign in the application. Once sign in, the application will be authorized to call the change methods defined in the scope.

// Sender will show a popup dialog to ask user to authorize your dApp
// This method will give you an accounts array which is from Sender wallet extension. 
// window.sender.ethereum.isConnected will be true.
await window.sender.ethereum.requestAccounts(); 


window.sender.ethereum._handleDisconnect(); // true

Last updated