Connect to Web3 Wallet
Use this method to allow users to login via Metamask or WalletConnect.
Import Metamask
Import WalletConnect
First install WalletConnect web3-provider :
Now import WalletConnect web3-provider and WalletConnectConnector from Altura:
Now, instantiate your WalletConnect web3-provider using the following options: Infura or Custom RPC mapping
Now integrate it with WalletConnectConnector:
Get Wallet Address
Get Wallet Balance
Sign Message
Send Transaction
Get Network information
Get Gas Price
Get Fee Data
Get Block Number
Last updated