web3-react: Connect Users to MetaMask (or any wallet) From Your Frontend

preview_player
Показать описание
A simple example of using web3-react, a library for connecting to Ethereum wallets.

MY YOUTUBE CHANNELS:

🐱‍👤 Links to support:

Feel free to message me no matter what for :)
Рекомендации по теме
Комментарии
Автор

Awesome tutorial. Im interested in how to stay connected after a reload. I know that metamask is already connected, but how can I show that on every reload

lindor
Автор

I am your 600th Subscriber...I found the article and video tutorial helpful 🤗

unclebigbay
Автор

This was great man, just was I was looking for! Thank you for the straight forward content!

sebastianse
Автор

The best tutorial, that i even see in youtube. Thank's a lot!!!

HeorhiiHryhorian
Автор

Hi, can you make a tutorial on how to implement a network chooser dropdown on the frontend, e.g. to switch between Ethereum and Polygon or Binance Smart Chain?

mihailomaksa
Автор

If connect button isn't working, make sure you are on Ethereum Mainnet! This tripped me up a few times. I'll make a video for creating a network switcher eventually

ShmojiCodes
Автор

ChainIds simply refer to a valid EVM chain. Examples would be ethereum mainnet, Rinkeby, Ropsten, Kovan, or L2s and sidechains like Arbitrum, Polygon, Optimism etc.

Each chain has a numerical ID, so mainnet is 1, Polygon is 137, for example

jordanasghar
Автор

Thank you very much! This's very helpful indeed.

TBOON-dpde
Автор

Awesome tutorial please make video on that complicated way..

shrinathpadave
Автор

How can I get this code?? I would like to add it to my website... Thank you for this amazing tutorial

تشيكيكرتونبالعربي
Автор

this is really helpful, Thank you great content

harisalkarni
Автор

I'm learning blockchain dev from Technoblade. This is great.

zayaansiddiqui
Автор

Great video, keep up the awesome work!

SingleWingAcademy
Автор

ALL of this functionality can be achieved only using ethers without react and your code is a LOT more straightforward and maintainable. It's all in a single js file. Remember that sometimes, react is not the right decision. It's easy to fall in love with a library and that clouds the fact that you may not need that library to build something quite simple.

clamhammer
Автор

what if i had my own website ? how do i connect metamask with mint button

eternalgaming
Автор

How does this know you are connecting with MetaMask? What if you have 2-3 wallet chrome extensions installed, which one would it select?

sneakywalrus_
Автор

Hello bro using the tailwind css to style the metamask button seem to be a problem cause vscode identifies my code as error can you help

adekolaopeyemi
Автор

Can you do a Video for the same case just with react native for iOS?

ugurcanborihan
Автор

hello, ive seen that with your approach it connects automatically to the site without prompting the metamask extension. Is there a way to achive this? I've only seen docs with typescript D:

tothebit
Автор

Hello, I make use of webflow, and I'll like to connect my metamask wallet for payment.
do you have any idea how to go about this?

cephasdaniel