Connect to all wallets available on WalletConnect and get back necessary variable to interact with smart contracts. (Currently tested for Rainbow and MetaMask).
Web3Connect w3c = Web3Connection(); w3c.connect() //to establish connection and get a pop up to choose wallet w3c.disconnect() //to kill the session w3c.enterRpcUrl("http://localhost:7545") //to enter a rpcUrl of your choice w3c.account //String containing account number with which connection was made w3c.credentials //WalletConnectEthereumCredentials required to interact with smart contracts
Created as a starting point for a better wallet integration experience. Feel free to create issues on the repository to make the package better.