Problems with Dapp Development with Flutter and web3

1,170

[Edit 2021-12-02] I just found this https://pub.dev/packages/flutter_web3, it is web only but seems to be compatible with WalletConnect QR codes connection, so it is probably worth a try.

Original answer:

I believe you can check out flutter_web3_provider but it only works for web.

I believe you can also use WalletConnect to support mobile wallets like these ones, but I haven't found a wrapper/implementation for flutter so you would need to implement that. But the good news is you would be able to use it in native apps. I see there is a react-native implementation so hopefully somebody will write the flutter implementation soon. You can support/like the request here.

Also you can directly sign and send transactions to an RPC server (a more direct gate to the blockchain) using web3dart, but of course you would need to ask for and/or store the user's private key, which is probably not what you want.

Share:
1,170
Admin
Author by

Admin

Updated on December 30, 2022

Comments

  • Admin
    Admin over 1 year

    I need to clarify a doubt in the development of Dapp, when creating a mobile app with flutter can I use web3 to connect with the wallet and the blockchain?