2022 Developer Survey is open! Take survey.

Questions tagged [infura]

INFURA is a scalable, standards-based cluster and API endpoint for Ethereum & IPFS.

Filter by
Sorted by
Tagged with
0 votes
1 answer
20 views

How do node providers (e.g. Infura, Alchemy) determine gas pricing on contract writes?

When writing to a smart contract, we can specify the priority and fee per gas. await contract.connect(owner).foo({ maxFeePerGas: "<YOUR FEE>" maxPriorityFeePerGas: "<YOUR ...
user avatar
  • 15
1 vote
0 answers
13 views

IPFS: Add file in frontend through public gateway, pin file in backend by its CID

This is more of a generic question. I want to give people the chance to upload their file through my front-end using "ipfs-http-client": var ipfs = ipfsHttpClient.create('https://ipfs.infura....
user avatar
  • 27
0 votes
1 answer
28 views

Should all state-changing functions to a smart contract go through MetaMask?

For a Dapp that is using its own node provider such as Infura or Alchemy, all read operations can go through this node, but any state-changing operations will require a signer. These node providers do ...
user avatar
  • 15
0 votes
0 answers
17 views

Creating a hundreds of wallet addresses via Infura and the like - where will the private keys get stored?

Let's say I wanted to generate new wallet addresses for my users on regular basis. That is, if I was to create hundreds of new wallet addresses via REST API of Infura or a similar service, where would ...
user avatar
0 votes
0 answers
13 views

Creating a hundreds of wallet addresses via Infura and the like - where will the private keys get stored? [duplicate]

Let's say I wanted to generate new wallet addresses for my users on regular basis. That is, if I was to create hundreds of new wallet addresses via REST API of Infura or a similar service, where would ...
user avatar
0 votes
0 answers
55 views

How to handle wrong chain error [Infura, Wagmi, React, Typescript]

When I npm run dev and my wallet is not connected to one of the chains I have specified, I get the following error This raises the question for me, how to handle the error when a user is not ...
user avatar
0 votes
0 answers
11 views

Error while sending transaction via node.js

I have error while I'm sending a transaction from node.js (influra) like this. Error: Invalid JSON RPC response: "invalid JWT\n" Why?
user avatar
0 votes
0 answers
14 views

Connecting to ethereum - JSONRPC providers vs injected providers

What are the prons and cons of using JSON RPC providers - like infura, alchemy vs injected providers like metamask? One thing i could think of is injected providers are platform specific - like ...
user avatar
0 votes
0 answers
13 views

Monitor a lot of wallets and transfer coins once coins have been sent to it

I'm working on a project in which there'll be users. A user will sign up and my service will a) generate a new address - wallet - and assign it to him b) each user will be topping up its wallet, for ...
user avatar
  • 1
0 votes
0 answers
6 views

description fields on Alethio block explorer

I'm using Alethio block explorer on an IBFT2 based chain I would like to know the meaning of the validators field, will this field have all the addresses of the validators or just the addresses of the ...
user avatar
0 votes
2 answers
41 views

Can I get more specific metadata for a certain transaction hash from a basic RPC connection (e.g. Infura)

I am trying to deploy a "verifyTx(tx_hash){}" function that takes a hash and tells me the state (succ vs. fail vs. pending), but I was hoping to get more advanced information on the hash if ...
user avatar
  • 101
0 votes
0 answers
57 views

How web3.eth.accounts.wallet.add(signer) helps in tranxation, Does it helps in signing the transaction?

link to repo I'm new to the public blockchain field. I was testing Infura by creating a sample contract to mint and transfer. In this repo under call.js in transferToken() here I'm trying to transfer ...
user avatar
0 votes
0 answers
17 views

Deploying to Rinkeby network throws ConnectionError

I am getting an error I try to deploy my contract to Rinkeby network. It was working fine previously. I am currently following the Solidity, Blockchain, and Smart Contract Course – Beginner to Expert ...
user avatar
0 votes
0 answers
95 views

How can I connect IPFS with infura when uploading data?

I'm creating an NFT marketplace using hardhat, solidity & Next js, I have a form from where I enter some specific information about the NFT, then by clicking on the button "Create Digital ...
user avatar
  • 169
1 vote
0 answers
271 views

Error handling with ethers.js

I've got a getContract function that looks something like this. const getContract = async () => { const provider = new ethers.providers.InfuraProvider(process.env.NETWORKS, process.env....
user avatar
0 votes
0 answers
11 views

Web3 event fire didn't work properly on nft market place

I am using infura to create user public and private key and use it to mint nft on blockchain. Mint works fine but events didn't work Here is the code for getting events. Sometime it works. sometime ...
user avatar
0 votes
1 answer
181 views

How to get the price of MATIC token using infura and web3.js?

I have written the following code: const web3 = new Web3( 'https://polygon-mainnet.infura.io/v3/<INFURA_PROJECT_ID>' ) const aggregatorV3InterfaceABI = [{ "...
user avatar
0 votes
0 answers
115 views

How to send signed transaction in ropsten testnet

I`m trying to send a signed transaction using web3js, but the result of the transaction hash is undefined Cannot understand why so... My code: var Tx = require("ethereumjs-tx").Transaction ...
user avatar
0 votes
0 answers
13 views

Error when sendTransaction() via web3js [duplicate]

I want to send a transaction with data using web3js, but I had an error like this Returned error: The method eth_sendTransaction does not exist/is not available const Web3 = require('web3') const ...
user avatar
2 votes
0 answers
55 views

Is it possible to fork multiple blockchains at the same time for testing smart contracts?

I am trying to fork ethereum, polygon, and arbitrum at the same time. I tried to use ganache-cli specifying different ports for each chain but it does not seem to grab the chain data when I use a ...
user avatar
0 votes
1 answer
140 views

cant connect to ipfs external node on infura.io via curl

im trying to to store data to ipfs via php , i use curl to communicate with api , it works find on my local node , but i want to use external node from infura.io but for some reason ipfs.infura.io is ...
user avatar
  • 3
0 votes
1 answer
403 views

Send ERC-20 tokens without eth or gas fee on Web3.js

I am developing an app using Web3.js where users send an amount of tokens to a new wallet. What I want is forward the tokens to another wallet but I am unable because the wallets where tokens are ...
user avatar
  • 3
0 votes
1 answer
97 views

Getting count of Ethereum transactions per day

I’m trying to write a call to get count of eth transactions per day, without using a pro api subscription. Anyone has some ideas about how to achieve this, maybe using an infuria.io project api? ...
user avatar
1 vote
1 answer
269 views

Why doesn't MetaMask pop up when my web3.py script successfully establishes a connection with Infura?

from web3 import Web3 infura_url="https://ropsten.infura.io/v3/my_key" w3=Web3(Web3.HTTPProvider(infura_url)) print(w3.isConnected()) It is giving output as True. But still, it is not ...
user avatar
1 vote
1 answer
42 views

How does MetaMask populate its Infura enpoints securely?

As MetaMask uses Infura as one of its node providers, multiple endpoints have to be generated for that purpose. How does MetaMask manage to acquire that many endpoints? And how do they protect their ...
user avatar
  • 11
0 votes
1 answer
151 views

web3.py geth txpool help

I need to help accessing the geth.txpool API namespace in web3.py. Heres what I do (for example): from web3 import Web3 web3 = Web3(Web3.HTTPProvider('https://mainnet.infura.io/v3/MY_KEY')) txPool = ...
user avatar
0 votes
0 answers
16 views

Track wallet address for new transactions in real time [duplicate]

I'm trying to find the best way of tracking an Ethereum wallet address for any new transactions in real time (or as close to it as possible) and then do some filtering on it. I've tried using the web3....
user avatar
  • 1
0 votes
1 answer
210 views

Truffle deployment/migration error with Infura - contract got deployed once but could not be deployed again

I am stuck when deploying a Smart Contract to rinkeby testnet by running (on macOS 12.1) this: sudo truffle migrate --reset --network rinkeby The contract compiles and I can deploy it locally, but ...
user avatar
  • 101
0 votes
1 answer
26 views

How do I get data regarding the type of token moved as a result of a smart contract's internal execution?

I want to "join" transactions with the execution information (typically referred to as internal transactions). Example scenario: Someone sells Alice a token, tokenA, via a regular Ethereum ...
user avatar
  • 35
0 votes
0 answers
178 views

Error: transaction underpriced

The below code just stops working at the line "Attempting to deploy from account: .." in console and after sometime it gives "Trnsaction was not mined within 750s, please make sure your ...
user avatar
1 vote
0 answers
30 views

"could not deploy due to insufficient funds", but still I have 0.000052197965366494 Ether. How could I solve this error?

Error: *** Deployment Failed *** "" could not deploy due to insufficient funds * Account: 0xDBC7A8105d32E4d6a80De11A94b0583047A7dbA5 * Balance: 52197965366494 wei * Message: ...
user avatar
  • 31
1 vote
0 answers
177 views

getaddrinfo ENOTFOUND mainnet.infura.io

I got this error when deploy my contract. It never happened using rinkeby testnet same key, same project. I got this error 3 time and I already spend $3000 ETH for this error How can I predict this ...
user avatar
  • 23
0 votes
0 answers
156 views

Invalid sender, insufficient funds, nonce too low when sending raw signed transaction on Rinkeby via JSON-RPC (Infura)

I am writing a C++ program to interact with Ethereum using JSON-RPC calls to an Infura node. I am trying to send a signed transaction using "eth_sendRawTransaction" on the Rinkeby network as ...
user avatar
  • 1
0 votes
0 answers
35 views

Why does truffle console make a high number of request to infura when idle, and is there a way to lower the amount of request being made?

Today while using truffle console to test functions on a ropsten contract I received an email saying I had used 75% of my available request. I left a console running in the background where I had set ...
user avatar
  • 1
1 vote
1 answer
94 views

Why is web3.js Transaction failing but working directly on Etherscan?

The contract in reference can be found at - https://rinkeby.etherscan.io/address/0x0e04ca9e56af778424b94eb904da9d97a63582f8 I'm trying to call the payUser function where the user sends some eth and ...
user avatar
2 votes
0 answers
293 views

Infura vs Alchemy vs Cloudflare-ETH? [closed]

Infura - free/paid Alchemy - free/paid Cloudflare-ETH - full free Can someone explain to me why all video tutorials dApp on youtube use Infura instead of completely free CloudFlare?
user avatar
0 votes
1 answer
113 views

Where to host web3.js and Infura websocket project?

I am working on a simple twitter bot to log sales of an NFT collection by subscribing to the Transfer event on the smart contract and posting a tweet after gathering info about the event. This works ...
user avatar
0 votes
1 answer
216 views

How can signing and sending transactions take place within Meta Mask if the user is not running a local node?

I have been trying to wrap my head around this for a while to no avail, so please help me understand. I've created several dapps and smart contracts in the past using web3.js, ethers.js, web3.py, etc. ...
user avatar
  • 1
2 votes
2 answers
854 views

Brownie / Rinkeby ValueError: Gas estimation failed: "you must set the gas limit manually"

from brownie import AdvancedCollectible, accounts, config, network from scripts.helpful_scripts import get_breed import time static_seed = 123 def main(): dev = accounts.add(config["wallets&...
user avatar
1 vote
0 answers
44 views

ens.setup_address using signed transaction and Infura

I have a python application and I don't have a local node. I want to use Inufra. I've created an ens name in the Ropsten network and I want to create users in my system and create a sub ens name using ...
user avatar
  • 71
0 votes
0 answers
76 views

Send signed instructions to smart contract without Metamask but with Infura

I need to send instructions to mint an NFT but wish to do it without calling Metamask. So, I figured that I need to use Infura like so.. web3 = new Web3(new Web3.providers.HttpProvider(...
user avatar
0 votes
0 answers
222 views

Error: Returned error: transaction could not be decoded: unsigned transactions not supported

Guys I am trying to sign and send a transaction to Rinkeby test network using Infura and web3. However, i have been stuck in the following error Error: Returned error: transaction could not be decoded:...
user avatar
  • 9
1 vote
1 answer
273 views

{ code: -32000, message: 'insufficient funds for gas * price + value' }

I'm a beginner in blockchain and facing a huge problem while deploying my smart contract with Truffle. first my simple contract... pragma solidity ^0.8.10; contract Inbox{ string public message; ...
user avatar
0 votes
1 answer
395 views

How to call a function of a contract using web3 and infura

Imagine having the below code: pragma solidity ^0.8.9; contract Message { address myMessage; function setMessage() public { myMessage = msg.sender; } } Now i know that infura ...
user avatar
  • 9
0 votes
0 answers
352 views

How to sign transaction using web3.eth.personal.sign, through Walletconnect

I am using the package Web3Modal to connect to different Ethereum Providers. And one of those providers is WalletConnect. Because it uses a Infura ID, I cant just sendTransaction(). First I need to ...
user avatar
0 votes
0 answers
193 views

Buying NFTs using Opensea SDK returns error message

So i'm using the opensea SDK and its fulfillOrder method, but its giving me the following error message: The method eth_sendTransaction does not exist/is not available Yes, I'm using Infura and I know ...
user avatar
  • 1
0 votes
1 answer
110 views

What are the security and privacy risks of using a custom node provider instead of Metamask's default node provider?

What are the security and privacy risks of using a custom node provider instead of Metamask's default node provider? By example custom node providers, I mean providers like Alchemy. Is there ever a ...
user avatar
  • 35
0 votes
1 answer
1k views

Error: Transaction has been reverted by the EVM:

I have tried all sorts of ways but it's not working for me when i change my value to 0 it works fine the transaction gets submitted. But if i change it to any other number lets say 1, 10, 20 I get ...
user avatar
0 votes
0 answers
107 views

Error swapping Tokens for ETH using Remix IDE

I have a smart contract that I've deployed to the RinkyBy Network Via Remix: // SPDX-License-Identifier: agpl-3.0 pragma solidity ^0.8.7; interface IUniswap { function swapExactTokensForETH( ...
user avatar
  • 212
1 vote
1 answer
334 views

Brownie, Where do I put my Infura API Key... not The ID, The Actual Key?

I am learning how to us brownie for NFTs and I don't know where to put my infura API Key. I see in the Github repo that the .env file looks like this: export PRIVATE_KEY=asafdagadd export ...
user avatar

1
2 3 4 5
10