Add 2 buttons to header on fronted page
Budget: $10 – $30 USD
Overview : Nodejs, ExpressJs, Javascript
We need to add 2 buttons to the top header (see attached screen)
1. "Add token to Metamask" - will add our token to metamask (please see screen1)
url to token logo: https://etherscan.io/token/images/medooza_28.png
code example: https://ethereum.stackexchange.com/questions/99343/how-to-automatically-add-a-custom-token-to-metamask-with-ethers-js
2. Detect if user "MetaMask" network different than xDai (print "Wrong network") then button "Add xDai network to metamsk" should add the xDai network automaticaly
code example: https://ethereum.stackexchange.com/questions/93594/add-custom-networkbnb-in-meta-mask-using-web3
(Please see attached screen2)
We need to add 2 buttons to the top header (see attached screen)
1. "Add token to Metamask" - will add our token to metamask (please see screen1)
url to token logo: https://etherscan.io/token/images/medooza_28.png
code example: https://ethereum.stackexchange.com/questions/99343/how-to-automatically-add-a-custom-token-to-metamask-with-ethers-js
2. Detect if user "MetaMask" network different than xDai (print "Wrong network") then button "Add xDai network to metamsk" should add the xDai network automaticaly
code example: https://ethereum.stackexchange.com/questions/93594/add-custom-networkbnb-in-meta-mask-using-web3
(Please see attached screen2)