adrianhajdin / project_crowdfunding

With a stunning design, connected to the blockchain, metamask pairing, interaction with smart contracts, sending Ethereum through the blockchain network, and writing solidity code.
https://jsmastery.pro
710 stars 384 forks source link

Issue with Fetching Contract Bytecode #94

Open Kalyani-Sahane opened 1 month ago

Kalyani-Sahane commented 1 month ago

Hi Adrian,

I hope you're doing well! My name is Kalyani Sahane, and I’m currently working on a project inspired by your crowdfunding tutorial on YouTube. Thank you for your valuable content; it has greatly assisted me in my development journey.

However, I’ve encountered an issue while implementing the code. Specifically, I am receiving the following error when attempting to fetch the bytecode for the contract at the address 0x5F99a3562a03E6C3cff0F7d9C564fD3c2f6D72aD on the Sepolia testnet:

Error: Could not fetch bytecode for contract at 0x5F99a3562a03E6C3cff0F7d9C564fD3c2f6D72aD on chain 1. Please double-check that the address and chainId are correct.

To troubleshoot, I created another contract, but I am still encountering the same issue.

Here are a few details regarding my setup:

Network: Sepolia testnet Contract Address: 0x5F99a3562a03E6C3cff0F7d9C564fD3c2f6D72aD I verified that the contract is deployed on the Sepolia testnet, and I have checked my Thirdweb SDK configuration to ensure it is set to the correct network. However, I still encounter the 404 error and the bytecode fetching issue.

For your reference, here’s a link to my GitHub repository where you can find the source code and the specific file where I am encountering the error: GitHub - Kalyani-Sahane/Charity.

I would greatly appreciate any insights or suggestions you may have regarding this issue.

Thank you for your time, and I look forward to your response!

Best regards, Kalyani Sahane

utkarsh-arm8 commented 1 week ago

hey did you find the solution