web3_connect 0.0.3 copy "web3_connect: ^0.0.3" to clipboard
web3_connect: ^0.0.3 copied to clipboard

Package to connect crypto wallets to flutter applications. Works with all wallets affiliated with WalletConnect.

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

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.

5
likes
70
pub points
42%
popularity

Publisher

unverified uploader

Package to connect crypto wallets to flutter applications. Works with all wallets affiliated with WalletConnect.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

dart_web3, flutter, http, provider, url_launcher, walletconnect_dart, web3dart

More

Packages that depend on web3_connect