Questions tagged [infura]

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

Filter by
Sorted by
Tagged with
0
votes
0answers
6 views

The method eth_sendTransaction does not exist/is not available [Web3js + Infura + Ropsten] [duplicate]

I have deployed two contracts on Ropsten and used Infura as a node. When I run my project locally with truffle and Ganache everything works fine. However when I try to run my webapp with Ropsten I get ...
0
votes
0answers
23 views

Is there any way to call metamask from my own chrome extension?

I'm trying to build myself a little expension to help me deal with my transactions and I can't figure out how to send transactions to metamask or open it from the chrome extension. Apparently you need ...
0
votes
1answer
7 views

Unable to resolve host "ropsten.infura.io" android exception [closed]

this code throw an exeption : Unable to resolve host "ropsten.infura.io" I don't know where is the problem There is the code : import androidx.appcompat.app.AppCompatActivity; import ...
1
vote
0answers
11 views

How are transactions signed when using web3js with Infura?

So far so good, all the examples I have seen online using infura are only code examples where the blockchain is queried. I have not seen one where transactions is actually sent to the blockchain. ...
0
votes
0answers
17 views

ERROR: -32000 Execution Reverted on Infura curl

I have a normal infura curl request through the terminal and i keep getting an error. {"jsonrpc":"2.0","id":1,"error":{"code":-32000,"message&...
0
votes
1answer
28 views

How to broadcast signed transaction with ethers.js?

I have a server which signs a transaction and sends it the signedTx back to the client. i want to broadcast this tx from the client side, using Infura as a provider. I couldnt find info on how to do ...
0
votes
0answers
16 views

web3py The method eth_getRawTransactionByHash does not exist/is not available

I am trying to run a simple command w3.eth.get_raw_transaction - this somehow works on the Binance smart chain, but does not work on infura. tx_hash = "...
2
votes
1answer
59 views

Advantages of Infura over Ganache?

I'm just starting to use Ganache for building my smart contracts but have seen some youtubers using Infura. After going through the Infura website, to my newbie eyes it seems to be exactly the same ...
1
vote
0answers
21 views

Rinkeby/Infura Block Gas Limit Issues

I am trying to deploy a contract with a gasLimit of around 8,000,000 on the Rinkeby testnet using an Infura provider. Basically something like this: await MyContract.deploy({ gasLimit: 8000000 }); ...
0
votes
0answers
18 views

project ID does not have access to polygon l2 using infura

i am deploying to polygon test net with hardhat. but when i try to deploy this error came up. here is the config file: require("@nomiclabs/hardhat-waffle"); require("dotenv")....
0
votes
0answers
32 views

Cannot connect Optimism-mainnet Infura with web3.py

I am trying to connect Optimism-mainnet with web3.py but it always shows False Here is my script from web3 import Web3 w3 = Web3(Web3.HTTPProvider('https://optimism-mainnet.infura.io/v3/myid')) ...
0
votes
1answer
18 views

Deployment of smart contract for research. Infura, Truffle or Metamask (which is more practical)?

Truffle, Infura, Metamask which is more practical way to deploy smart contracts for research purposes? Can someone explain? Thank you.
0
votes
0answers
21 views

How to read a value off the smart contract using a "web classic API" HTTP request approach?

I've done this a couple of times, but often it is problematic... Loads of things change, often my old code does not work. All I want is to read a single value of the smart contract and display it to ...
0
votes
1answer
37 views

Infura with JWT authentication

I am using wallet connect an Open protocol for connecting Wallets to Dapps with web3 modal sdk . the wallet connect requires an infura key. Since the wallet connect is executed on the borwser it ...
0
votes
1answer
34 views

Unable to add transaction to blockchain (I'm invoking the setMessage(str) method but the string i pass doesn't get set but getMessage() method works)

When i call the setMessage() function this doesn't log any transaction in the blockchain. But the getMessage() function works by bringing the message which was previously set using the remix IDE ...
0
votes
1answer
111 views

How to send a signed transaction using metamask and web3?

I'm stuck at sending a signed transaction to a Smart Contract deployed on Ropsten network. As learning purposes, I created a 'Voting' smart contract. This contract includes 2 candidates we can vote ...
0
votes
0answers
55 views

web3 getPastEvents() returns empty array

I am listening to the events of a contract running on the ethereum network at https://etherscan.io/address/0x6b175474e89094c44da98b954eedeac495271d0f and I am connecting through infura.io mainnet ...
0
votes
1answer
28 views

Infura out of sync

I have 13 transactions according to https://ropsten.etherscan.io/address/[my_account] and when I dispatch "eth_getTransactionCount" to https://ropsten.infura.io/v3/[my_project_id] (with &...
1
vote
1answer
160 views

HTTPError: 401 Client Error: Unauthorized for url: https://rinkeby.infura.io/v3/

I'm getting this error Brownie v1.15.1 - Python development framework for Ethereum NftMixProject is the active project. File "brownie/_cli/__main__.py", line 64, in main importlib....
0
votes
0answers
21 views

Replacing Infura in dApp?

If I wish to use a network other than infura, can I just replace all the infura URLs and it will work ?
0
votes
0answers
17 views

Using metamask to sign ERC20 approvals

I have a frontend UI and NodeJS backend with web3js to interact with my smart contract. I'm able to interact with the smart contract using metamask by using window.addEventListener("load",...
0
votes
1answer
81 views

How do I automatically update the latest block number and pending txns in my app?

I wish to make a simple application using KivyMD. I want to display the latest block and pending txns on the ethereum blockchain and have it update automatically with every new block. I'm using infura ...
0
votes
0answers
19 views

web3js getPastLogs is not returning data

I'm using the Infura API with web3js and a short example in nodejs that fetches the past logs for all the "transfer" events of a smart contract address. It is not returning any events though....
0
votes
0answers
14 views

Is it possible to connect to infura using a standalone executable?

New to eth dev here, so trying to figure out what's currently possible. Can an HTTP response contain the wallet information required to run a contract on the ethereum blockchain? I am making a ...
1
vote
1answer
23 views

I'm connecting to the wrong network but my configuration seems right

Trying to run truffle console I got this typical error: I've checked my configuration and it seems OK to me (I don't know why truffle is trying to connect to 127.0.0.1). Here you can see my project: ...
0
votes
1answer
31 views

The contract code couldn't be stored, please check your gas limit

I tried to deploy my contracts but every time I get this error. The first two contracts were deployed successfully, but the third contract, "PostFactory.sol" is facing this issue in loops. I ...
0
votes
0answers
13 views

Best relay solution

I'm new to the field. There is any de facto standard solution? I'm taking a look at GSN, Rockside, Infura Transactions (still beta), ... if not a silver bullet, maybe you can help me with the pros and ...
0
votes
0answers
32 views

how to access a DApp deployed on testnet (Kovan)

I'm using Infura, HDWallet and Metamask. I have a truffle project and my truffle-config.js is ready. Currently, I'm able to interact with my Smart Contract via PowerShell and via browser, so all ...
0
votes
2answers
55 views

Fails to call methods of deployed contract

Contract deployed to Rinkeby Contract code // SPDX-License-Identifier: MIT pragma solidity ^0.5.3; contract Cont { address[] players; uint test = 123; function enter() public payable { // send(...
1
vote
1answer
45 views

What are the SECURITY CONSIDERATIONS when using INFURA to interact with the ETHEREUM mainnet?

What are the security considerations that should be noted when interacting via Infura to the Ethereum Mainnet? Are your private keys or mnemonic phrase ever sent to Infura? Can Infura execute any ...
0
votes
2answers
451 views

How can I call a method on a deployed smart contract?

I deployed an ERC20 token smart contract and an exchange smart contract which allows for buying the token with Ether. I deployed them to the mainnet using Infura and Hardhat and am able to buy tokens ...
0
votes
0answers
31 views

Best way to Deploy smart contracts without Infura

I'm wondering what will be the best way to deploy our smart contracts. If i use Infura API, they are only serving 100 thousand requests per day.Due to that our team lost a client while performing a ...
0
votes
0answers
49 views

Using web3.py, How do I get pending transactions of a specific contract address?

I am using an infura provider with web3py and it is saying that pending logs are not supported. Is there any way I can get the pending transactions using the same setup that I have right now?
0
votes
1answer
62 views

Is using private key of an account is legal or a good idea in your code?

I was using Nethereum for one of my application, there I found I have to sign transaction before calling a smart contract method, which was OK. I was using infura api. When I was calling ...
4
votes
2answers
33 views

Strange blocks behaviour, transactions are dropped from a validated block

I have faced a very strange issue on Goerli Testnet using infura. The number of transactions in a blocks dropped from 168 transactions to 164. I'm working on a blocks tracker, after receiving the ...
1
vote
1answer
67 views

Can not connect to Infura Mainnet

I am looking at the infura documentation and no matter what method I am trying to authenticate my project id I am getting errors such as the one displayed below or 404 errors. Has anyone had the same ...
1
vote
0answers
298 views

How to get method name from transaction history (since the beginning and news in realtime)

My job is to get all the method name from the token contract transactions from the beginning and to display the new transactions in realtime. 1) Get all events For the moment I can display the "...
1
vote
0answers
74 views

send eth transaction from one address to another with web3py

I want to send 1 ETH from one account to another with web3.py, however the transaction does not appear on chain after the standard timeout of 2 minutes. from web3 import Web3 from web3.auto.infura ...
1
vote
1answer
120 views

What would be a better Infura node alternative?

What would be the current best Infura Node alternative? I need to make a large number of requests every day. The current Infura node is too expensive for a large number of requests..
0
votes
0answers
82 views

Delay from web3 provider Infura in receiving new block headers

I use web3 in NodeJs to subscribe to 'newBlockHeaders' and use https://infura.io/ as provider. Holding the output of my app side-by-side with https://ethstats.net/ and comparing block numbers, there's ...
0
votes
1answer
22 views

What does Infura do for contracts?

I am a bit confused by how some contracts can be launched with Remix (I presume without Infura), whereas if I launch contracts via truffle then I need to connect to Infura. Is there a simple ...
0
votes
0answers
92 views

Sign transaction on behalf of user and execute server-side

Hello StackExchange 👋 I'm working on my first Ethereum learning project (an ERC721 marketplace that generates tokens based on user input), wrote a couple of untested contracts and am now looking to ...
0
votes
1answer
28 views

Error while supplying test assets to the compound protocol using infura project, ganache-cli and web3.js

I'm trying to supply assets to the compound protocol using this guide: Supplying Assets to the Compound Protocol. I created account at https://infura.io/ and got my ProjectID. I cloned https://github....
0
votes
1answer
898 views

Single Call vs MultiCall

What exactly is multicall and the benefits of it, compared to Single call? What is multicall contract and the purpose of it, I can't find any proper definition of it. Some source said that multicall ...
0
votes
0answers
8 views

I get an error when I want to post on infura

I prepared a new token to learn. My tutorial would show me to post this in infurada, but I am doing the same and getting an error. I would be glad if anyone could help me.
0
votes
0answers
64 views

Error: A "infuraKey" or a "rpc" object with a parameter of 1 must be included in the WalletConnect initialization object

I'm starting to develop https://pooltogether.com/ in docker environment. I cloned their repo https://github.com/pooltogether/pooltogether-pool-builder-ui and follow the readme instructions. In .envrc ...
0
votes
0answers
51 views

How do I get multiple signers for the Kovan testnet?

I am using hardhat + ethers + infura for my contract development and testing, and all has been fine so far. On my local computer, when I run const [deployer, d2] = await ethers.getSigners(); in my ...
1
vote
1answer
39 views

Query ethereum chain without owning a node

When I want to query the ethereum blockchain I use infura server with a curl command like this: curl https://mainnet.infura.io/v3/2a8c33bac50647a6be2638a92f9d4a4c -X POST -H "Content-Type: ...
1
vote
1answer
231 views

unsigned transactions not supported - web3, infura, @ethereumjs/tx

I am working on sending signed transactions using web3, @ethereumjs/tx, and infura. However, I am getting an error "unsigned transactions not supported". Here my code, credit: const Web3 = ...
1
vote
0answers
22 views

Need to create WS Infura connection with JWT

Im developing a web app in which I connect the client with infura using ws and the project id, but I also need to use JWT in order to add an extra layer of security. There are explanations in infura ...

1
2 3 4 5
9