Questions tagged [infura]
8 questions
0
votes
0 answers
Problem converting ens domain to 0x eth address
from web3 import Web3
w3 = Web3(Web3.HTTPProvider('https://mainnet.infura.io/v3/MY_INFURA_PROJECT_ID'))
ens_address = '0x314159265dd8dbb310642f98f50c066173c1259b'resolver_address = '0x5FfC014343cd971B7eb70732021E26C35B744cc4'name_eth_address =…
0
votes
1 answer
deploying of a contract with Brownie: slowness and errors
I'm currently trying to run deploy a contract on the Sepolia testnet and when I run in the terminal the following line of code
brownie run scripts/deploy.py --network sepolia
after some minute I get the following error:
INFO: Could not find files…

Beppe
- 1
- 1
0
votes
0 answers
Error: Chain with name sepolia not supported - infura
const contractABI = require('./build/contracts/DonationContract.json');
const { Transaction } = require('ethereumjs-tx');
const MAX_TIME_FRAME = 60; // Adjust the maximum time frame as needed
const provider =new…

Tinawaa1
- 7
- 2
0
votes
1 answer
sendSignedTransaction throws "Invalid Sender
I was trying to save the content of a donation form to a blockchain but when I try I get Error: Returned error: invalid sender at Object.ErrorResponse. Can someone please help me?
const contractABI =…

Tinawaa1
- 7
- 2
0
votes
0 answers
ipfs-infrua, Failed to load resource: the server responded with a status of 400 () ipfs-infura
The image is not displayed, infura ipfs, I got this error,
Failed to load resource: the server responded with a status of 400 ()
GET…
0
votes
0 answers
Upload and Retrieve Images to IPFS using Infura gateway
It seems that Infura have changed how to GET data back after uploading. My program retreives a url with error 400 GET https://ipfs.infura.io/ipfs/QmbYFZidMFsaKBdFkxFdAwSYytWudvFdpt8e1xJ7ZaZnr8 400 (Bad Request) and it says unsupported domain when…

stan001
- 13
- 4
0
votes
2 answers
Truffle migrate Error: PollingBlockTracker
I'm trying to deploy a contract on Avalanche Fuji testnet using Truffle. Here is my truffle config:
require('dotenv').config();
const mnemonic = process.env["MNEMONIC"];
const infuraUrl = process.env["INFURA_URL"];…

code_learner93
- 571
- 5
- 12
-2
votes
2 answers
VS code and connecting to Ethereum mainnet with ether.js and Infura
I don't know why it does not run and I get an error.
Network and API was declared and ethers.js library was imported.
import { ethers } from "ethers";
const network = "homestead";
const API_KEY = "mykey";
const provider = new…