web3_connect 0.0.1 web3_connect: ^0.0.1 copied to clipboard
Package to connect crypto wallets to flutter applications.
Connect crypto wallet to application and get back various variable necessary for interacting with smart contracts.
Features #
Connect to all wallets available on WalletConnect and get back necessary variable to interact with smart contracts.
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
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.