web3_connect

Creator: coderz1093

Last updated:

0 purchases

web3_connect Image
web3_connect Images

Languages

Categories

Add to Cart

Description:

web3 connect

Features #
Connect to all wallets available on WalletConnect and get back necessary variable to interact with smart contracts.
(Currently tested for Rainbow and MetaMask).
Usage #
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

copied to clipboard
https://user-images.githubusercontent.com/54764168/162468716-9bb27ca1-37e1-4171-ba45-0736101c245c.mp4
Additional information #
Created as a starting point for a better wallet integration experience. Feel free to create issues on the repository to make the package better.

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.