Hot answers tagged

5 votes

Infura network support for sepollia in Brownie

Use this command in the terminal brownie networks add Ethereum sepolia host="https://rpc.sepolia.dev" chainid=11155111
purplestoke's user avatar
3 votes
Accepted

Free Goerli testETH? Why is there a Goerli faucet shortage

Absolutely. I've been using Alchemy's Goerli faucet. If you log in to Alchemy Dashboard and create and use a free App, it will upgrade your faucet to 0.5ETH vs 0.2ETH, which is very helpful.
PSS's user avatar
  • 539
3 votes

Hardhat Etherscan Unsupported Network Sepolia chain Id: 11155111

I faced a similar error, but updating @nomiclabs/hardhat-etherscan to the latest version worked for me. npm update @nomiclabs/hardhat-etherscan
TAK's user avatar
  • 31
2 votes

Invalid Network ! when using sepolia test net

Try downgrading your ethers version. I know there are numerous problems in connecting with Sepolia > 6, so try a popular version such as 5.7.2
immaxkent's user avatar
  • 499
2 votes

Hardhat Etherscan Unsupported Network Sepolia chain Id: 11155111

I faced the same issue while verifying my contract using [hardhat-etherscan] so I updated the package using this command in the console >>> npm update @nomiclabs/hardhat-etherscan This worked ...
Rohit Roy's user avatar
2 votes

what is the right way to read from the contract? using wagmi.sh

You can use refetch from useContractRead const { refetch: refetchProjects } = useContractRead({ address: contractAddress, abi: abi.abi, functionName: "getAllProjects", ...
Paulo Bordignon's user avatar
2 votes
Accepted

what is the right way to read from the contract? using wagmi.sh

You should add the watch param to the useContractRead hook so that it continously fetches the new value of the counter const {data:CounterValue,isError,isLoading} = useContractRead({ address:&...
Mila A's user avatar
  • 264
2 votes
Accepted

Which Ethereum testnet will be supported after the merge (Paris/Bellatrix)?

The Ethereum core developers decided that the following testnets will be maintained in the future, including the merge: Sepolia Testnet (PoW), chain ID 11155111, https://sepolia.dev Goerli Testnet (...
q9f's user avatar
  • 32.8k
2 votes
Accepted

ERC20 token transfer failed When getting called by a smart contract

transfer function sends tokens from the caller to the receiver and not from msg.sender. The function you wrote is called by the contract itself, and since the contract has no tokens, the function ...
Al-Qa'qa''s user avatar
  • 286
2 votes
Accepted

Unable to create Arbitrum Sepolia Token

As of right now, Arbitrum doesn't yet support PUSH0. See Arbitrum docs: Solidity support. To actually deploy your ERC20 token with Remix+MetaMask, you need to change the Solidity compiler to 0.8.19. ...
Ake's user avatar
  • 814
1 vote

Calling approve function of an erc-20 contract not working

In the code above the contract (0x8ca112e2fdFF220217609D391eec0B95d5E505a2) gave approval to the owner (0x7E5A0154d04179ed194C96EC9E7A7fe8A378d204) and to itself (...
Vas Treck's user avatar
  • 392
1 vote

Hardhat deploy same contract to multiple addresses fails

I believe the new contract is deployed, but because of same the bytecode it already gets verified before you run the verification command, can you check/share your wallet address and see if the ...
Zartaj Afser's user avatar
  • 2,230
1 vote

TypeError: Cannot read properties of undefined (reading 'match')

UPDATE to above question! So after several attempts, it seems I have found the culprit. For some reason, the network provider name ("sepolia") I entered with getDefaultProvider function does ...
David Blake's user avatar
1 vote

State variable not returning value when the contract is deployed into sepolia test network

The issue is in the abi variable in lottery.js module. The abi should be in JSON format but this is not the case, so the contract object exported could not be read by the web3 library. Solution: send ...
Rakshith's user avatar
1 vote
Accepted

Simple contract fails to deploy to Sepolia

Your code can be deployed, maybe there is a problem with the parameters of the constructor you passed in. You can try: _UID = 0xdd440df46537b153fd7dcb3d09fe2d20ab4650728dfc389f4fe51de36a8cab06 _Desc = ...
EthanOK's user avatar
  • 406
1 vote

Aave V3 Liquidations - Testing on Sepolia

If you want to test liquidations You can deploy Aave V3 protocol fully in an unit test suite, example here Aave deployer comes with test faucets - you can create some pools for yourself to test Then ...
Mikko Ohtamaa's user avatar
1 vote

Aave V3 Liquidations - Testing on Sepolia

Which contract did you check? Please check this contract: Pool-Proxy-Aave so you can view the transactions and logs. I believe you may have checked the Pool-Implementation contract.
xana's user avatar
  • 51
1 vote

Loolong for tusdt faucet Sepolia

Generally speaking you won’t find an official TUSD faucet for any testnet, only those made by developers. The reason for this is that you require pools filled with liquidity, which you’re unlikely to ...
immaxkent's user avatar
  • 499
1 vote
Accepted

How to get enough Sepolia eth to test staking?

Sepolia is a permissionned testnet which mean you cannot test solo staking there. It's still possible to test solo staking on Goerli but getting the required Goerli ETH might be problematic. At ...
Rémy Roy's user avatar
  • 703
1 vote

Problem in getting test ethers from sepolia faucet by alchemy

if its real what you are saying, then its strange it should be allow you to withdraw the faucets after 24 hours. It's possible that the faucet has a limit on the total amount of test ether it can ...
Naveed Ali's user avatar
1 vote

Insufficient fund

Sometimes it helps to use the overrides passing gasLimit and gasPrice. myContract.mint(myParam, {gasPrice:1.5* current gasPrice at sepholia, gasLimit: YOUR GAS LIMIT} Hope it helps
donoso.eth's user avatar
  • 1,383
1 vote

Infura network support for sepollia in Brownie

Use this command in the terminal networks add Ethereum sepolia host="https://rpc.sepolia.org/" chainid=11155111 If following host is not working try changing the rpc host you can find hosts ...
Moz's user avatar
  • 11
1 vote

Infura network support for sepollia in Brownie

In the .brownie\network-config file: Put this code into the section where other Infura networks are located. - chainid: 11155111 explorer: https://api-sepolia.etherscan.io/api host: https://...
EmilyJ's user avatar
  • 147
1 vote

Where can I buy some ETH Testnet tokens?

https://goerlifaucet.com/ This link gives 0.5 ETH per day once you have logged in with Alchemy account https://goerli-faucet.pk910.de/ Also, you can mine the test ETH to get 1.25 ETH at a once, but it ...
Sunny Williams's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible