Skip to content

DSCEngine functions reverting when tried interacting with it on remix.. #219

Answered by pacelliv
Devshenoyprasad asked this question in Q&A
Discussion options

You must be logged in to vote

You can do two things:

  1. You can interact with the WETH token contract directly on Sepolia Etherscan to approve DSCEngine as spender.
  2. Or, paste the entire WETH contract in a new file in Remix and use the AtAddress field with the address of WETH to load an instance of the contract, then you can interact with it.

Just in case... remember if you deployed the contract with the actual addresses of the WETH and WBTC for Sepolia then you need to mint some of those tokens by depositing ETH.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Devshenoyprasad
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants