5. Run the Script

  • Make sure your .env is correctly set with your RPC URL and private key.

  • Confirm you have enough test ETH in your wallet to cover transaction fees and that you have some WETH on Sepolia.

  • In your terminal, run:

node index.js

If successful, you’ll see logs indicating WETH was approved, supplied, and then some USDC was borrowed.

Last updated