I need Weth for my dapp. So I looked at how AirSwap converts ETH to Weth. On the Rinkeby testnet, AirSwap calls this contract and uses the "deposit" function. I see from the code how this would work. Also I can see that this contract is owned by 0x.

My question is: Can I just call that exact contract for my Dapp too? Is this the recommended way to exchange Weth for Eth?

closed as off-topic by Lauri Peltonen, shane, smarx, Rob Hitchens - B9lab, Briomkez Jan 23 at 9:01

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Customer support for a 3rd-party application/service is off-topic for Stack Exchange. Please contact them directly. https://meta.stackoverflow.com/questions/255745/why-were-not-customer-support-for-your-favorite-company" – Lauri Peltonen, shane, Rob Hitchens - B9lab
If this question can be reworded to fit the rules in the help center, please edit the question.


You should use 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2.

A while ago, Will Warren (CEO of 0x) made a call for people to use a canonical WETH contract. Since then, nearly all Dapps have used this.

You will even see your Rinkeby WETH address in that article.

Not the answer you're looking for? Browse other questions tagged or ask your own question.