DEV Community

Cover image for Building with Flutter and Metamask

Building with Flutter and Metamask

Bhaskar on June 04, 2022

Building apps is one of the coolest things to be done as a software developer and tech enthusiast. Apps are not only more portable and user friend...
Collapse
 
donnclab profile image
Donald💙

Something I didn't know i was looking for until i found it, as a flutter developer who started his Blockchain journey, this is what i needed
Clearly explained 🎯

Collapse
 
bhaskardutta profile image
Bhaskar

Glad I could help. I am a Blockchain Developer who got interested in Flutter. I have plans to bring more tutorials in this domain. 👨🏾‍💻

Collapse
 
donnclab profile image
Donald💙

Looking forward to them, as i will be diving deep into learning Blockchain too
🙂

Collapse
 
abdulrafay001 profile image
AbdulRafay

i used this but it's keep saying unable to find host for that bridge and when i open bridge url on chrome its unable to load what should i do now...?how could i connect my metamask wallet in my flutter app

Collapse
 
ravipunvg profile image
Ravi Pun

Hi there. I was following your tutorial on my project to integrate metamask login.
Unfortunately for me however the action sheet / bottom sheet on the metamask app suddenly stopped appearing.
I suspect the deprecation of wallet connect v1 and retirement on June 28 is the issue.
Can we expect a tutorial to do similar things with wallet connect v2 ?
Thank you

Collapse
 
varunpadha profile image
Varun Padha

same bro the connect pop up doesn't appear in mine too have you found a solution?

Collapse
 
patzu profile image
Patzu

Well explained, thanks. Looking for further tutorials. Deposit, Withdraw, etc.

Collapse
 
martelinok profile image
Kevin Martello Mayorga Cleveland

Hi bro, thanks so much for the post, im try to implement this in my project but i have a problem with this, the idea is implement this autoconnect for two wallets, metamask and rainbow but the problem is i dont know how can i say to de library witch one of them selected, i have two buttons one is for metamask and the other is for rainbow, but both are connected two rainbow, can you help me taks.

Collapse
 
bhaskardutta profile image
Bhaskar

You can select default application in the popup. I am using Deeplinking, that is there is a specific URL that the app tries to open. Android finds which Apps are capable of opening that link and gives a popup asking which application to choose. You can set a default there. It's done by Android and no special code is needed.

Collapse
 
ameen profile image
Muhammed Ameen

It's an awesome tuto, Great thanks to bhaskar dutta

Collapse
 
systemtce profile image
SystemTce

🙂

Collapse
 
codinglegend27 profile image
Christoph Waffler

How about support in the browser?
Is this somehow possible yet?

Collapse
 
bhaskardutta profile image
Bhaskar

I have not tested that yet. Thank you for the idea, I will look into it and reply. In the meantime, if you find something else, please do share.

Collapse
 
ecrianza profile image
Ξcrianza

Proper tutorial. Nicely explained and all the doubts were solved from within. Kudos!

Collapse
 
silca3553 profile image
eun sung cha

I've been looking for a long time to connect the metamask in flutter. thanks you! Now I want to connect the smart contract.

Collapse
 
freddymachado profile image
freddymachado

Any update to support for wallet connect v2?

Collapse
 
codegeek04 profile image
Shivam Mittal

Thanks

Collapse
 
shohzod97 profile image
Shohzod97

Thank you! It works for April 2023.
Tip for other: if you use author's source code you need to use "flutter clean", delete pubspec.lock and then "flutter pub get".

Collapse
 
cliffclimber721 profile image
Wonyoung Cho

Hi, I'm watching your docs, really thanks.

But I'm wondering that url_launcher_string is DEPRECATED.

Collapse
 
bhaskardutta profile image
Bhaskar

You can use url_launcher package and the urlLauncherString function from that package.

Collapse
 
int123 profile image
int123

Great, that's what I need.

Collapse
 
ducndthe153148 profile image
ducndthe153148

Hope you have more article about this topic