title: How to interact with interfaces through HardHat?
body: <p>how can I interact with interfaces through hardhat.</p>
  <p>For example in brownie you can just call function from an interface like this:</p>
  <pre><code>def main():
      weth = interface.IWeth(&quot;weth_address&quot;)
      tx = weth.deposit({&quot;from&quot;: account, &quot;value&quot;: &quot;value&quot;})
  </code></pre>
  <p>and that's it.</p>
  <p>Is there a way to do the same in hardhat? I've been siting on this problem for couple of hours and for the life of me I can't figure out how to do this.</p>
  <p>If it's not possible how do I get weth through solidity.</p>