How can i add smart contract to metamask?

I have a smart Contract that i need to hook up with metamask and my ui. https://ropsten.etherscan.io/address/0xe462cbee0cd420f6c199b0194b1d8d93fb5e7720#writeContract I have an exchange.js file const Web3 = require(‘web3’); const web3 = new Web3(‘https://ropsten.infura.io/v3/apikey’); const abi = abiegoeshere; const contractAddress = ‘0xE462CbEE0cd420f6c199B0194B1D8D93Fb5e7720’; const contract = new web3.eth.Contract(abi, contractAddress); web3.eth.getBalance(contract.address, function (e, r) { $(‘#contractBalanceAgi’).text(convertCogToAgi(r).toFixed(4)) }) I want to…

selenium.common.exceptions.InvalidArgumentException: Message: invalid argument error invoking get() with urls read from text file with Selenium Python

I have a list of URLs in a .txt file that I would like to run using selenium. Lets say that the file name is b.txt in it contains 2 urls (precisely formatted as below): https://www.google.com/,https://www.bing.com/, What I am trying to do is to make selenium run both urls (from the .txt file), however it…

Server 2008R2 RDS:HP Universal print driver installs but does not print

I am struggling with an HP M15W printer on Windows Server 2008r2 sp1 (with terminal services installed). The HP Universal print driver is installed (TCP/IP port) and print jobs move through the spooler. Files appear in C:\Windows\System32\spool\PRINTERS and disappear within about a second. A packet capture shows data transmitted to the networked printer on port…