Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [infura]

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

1
vote
2answers
13 views

How to install infura to a server runing ubuntu 16.04

Im setting up an exchange and came to the installation of ethereum using this document http://support.bitexchange.systems/support/articles/how-to-install-ethereum-in-your-server. The 'geth' command ...
0
votes
0answers
13 views

CORS Error for using infura

I need to call the balance function from my smart contract using my application and i don't want to use metamask and other web3 providers like infua as I am not going to send any transactions and don'...
0
votes
0answers
16 views

Can anyone help me to access my eth account in metamask using infura in android

My question is about accessing my eth account in metamask using infura in android
1
vote
1answer
26 views

Using web3 estimateGas API (with infura) always returns the last block's gas limit

I am entirely unsure what the root cause is, but every time I use web3.eth.estimateGas with my call's parameters, it results in the last blocks gas limit as the result (~8 million). I have even tested ...
0
votes
0answers
22 views

sending ether Transaction failed when executing multiple transaction

I am sending ether to an array of addresses. I am getting the nonce value from eth_getTransactionCount. But problem is that the first transaction is successful but for the rest of the transactions are ...
1
vote
0answers
21 views

Transaction submitted through Infura, but not from local node

So, I have a Rinkeby fast sync on my server. When I try to interact with my contract and transfer something, geth says "Submitted transaction", but then I can't find it using its hash on etherscan. ...
1
vote
1answer
25 views

Am I using Infura with Web3j correctly?

This is the first time using infura with a Web3j HttpClient. I have seen people use a code after the url like this: "infura.io/--here--". Am I using Infura correctly? This is my code. (web3j v3.5.0) ...
0
votes
0answers
26 views

web3 smart contract calls to slow (arrays / lists)

I call contract like this : static async getInitialProps(res) { const users = await UsersContract.methods.getUsers().call(); const totalusers = await UsersContract.methods.getTotalUsers()....
1
vote
0answers
23 views

How can I make an offline transaction and send it to Ethereum client network in java?

private class Myclass extends AsyncTask<Void, Void, Void> { protected Void doInBackground(Void... params) { //sldknfbhvsjhxcnzmcxcmj Web3j web3 = Web3jFactory....
1
vote
1answer
36 views

Infura not broadcasting contract deployment transaction

I am attempting to deploy a contract via an Infura node, and I am the point where a txhash is generated from the sendSignedTransaction() web3 function. However, after the txhash is generated nothing ...
1
vote
0answers
26 views

contract does not gets deploy to rinkeby via Infura

I am trying to deploy my contract to Rinkeby network via Infura. But it actually does not get deploy to network when i run node deploy.js terminal does not spit out the address at which it is deployed....
0
votes
0answers
29 views

i can't get rid of this error

const HDWalletProvider = require("truffle-hdwallet-provider"); const Web3 = require('web3'); const {interface,bytecode} = require('./compile.js'); const provider = new HDWalletProvider( 'slim ...
-1
votes
0answers
21 views

PHP - Contract Deployment with JSON RPC

everybody! I'm currently trying to deploy smart contracts from the website project that I developed using PHP for its backend. I'm also trying this without running a local Ethereum node and accessing ...
2
votes
1answer
30 views

Issues sending Ether with web3j

Hello guys I have search around but no reasonable explanation as to why i would get these exceptions, I have already requested and have 3 ethers with associated with my address. Here is my code for ...
1
vote
1answer
52 views

Dapp User Account Storage and IPFS/infura

I'd like to build a dapp utilizing the power of the Ethereum blockchain and IPFS. Right now, my plan is to have users sign up to use the app and store their account data + files on IPFS through a ...
1
vote
1answer
53 views

How do I verify and query my transaction? (Web3.py + Infura + Remix)

I've used buildTransaction() (which works at Contract.transact()) and I can see my transaction has taken place. (https://ropsten.etherscan.io/tx/...
1
vote
0answers
47 views

Unable to call setter function in solidity using Infura

Solidity code contract Greeter { string public greeting; function Greeter() public { greeting = 'Hello'; } function setGreeting(string _greeting) public { greeting = _greeting; } function ...
1
vote
1answer
29 views

How does Infura deal with Finality

When submitting smart contract calls to infura or subscribing to a contract's events, does infura have it's own finality bound or will I have to implement this in the client?
0
votes
1answer
22 views

Issues while sending raw transaction for calling smart contract methods?

let provider_url = "https://ropsten.infura.io/v3/d5bca90ec3084aee8abd468fdf876a11"; this.web3Provider = new Web3.providers.HttpProvider(provider_url); window.web3_ = new Web3(this.web3Provider); ...
1
vote
0answers
26 views

Error: cannot find module hdwallet-provider - trying to deploy contract to ropsten using infura key [duplicate]

I have reviewed the other posts in the last few days following what seem like forever for get to sync to my local machine - so this is my last try to get it to deploy the petshop contract to ropsten ...
1
vote
2answers
50 views

Why is browser taking so long to read blockchain data?

I have a dAPP and I use reactjs for the frontend. The application returns data from a smart contract (the balance) on the homepage. The main problem that I notice is that everytime I or any other ...
0
votes
0answers
18 views

Are Infura Contract Events Working For You ?

I noticed my contract event listener is not firing - I didn't change any code prior to it not working. Has anyone else seen contract events stop working today?
0
votes
2answers
52 views

How to use a metamask Wallet from web3,py?

I deployed contracts to Ropsten test net using truffle and a metamask wallet to pay for the transactions and Infura as a Hosted ethereum node. To do that in Truffle, I have to use the truffle-...
1
vote
1answer
33 views

How to send signed transactions concurrently via Infura?

I'm using web3js and web3js-raw as follows to change state of my smart contract on ethereum, let initiateAddLoyaltyTransaction = function (fromWallet, toWallet, companyName, amount, callback) { let ...
0
votes
1answer
57 views

Web3 Rinkeby Infura Problems

I've got a Smart Contract that works perfectly when deployed to localhost: 8545 (using Ganache) with my Web3 Dapp. But when I put it on Rinkeby, I'm running into problems,. The Contract is super-...
0
votes
1answer
119 views

web3 not connecting to Infura / Rinkeby Testnet

I've successfully deployed my Smart-Contract to the Rinkeby TestNet via Remix. Everything works perfectly from within Remix. But when I try to get my web DApp to fire methods in my Smart-Contract - ...
0
votes
1answer
81 views

web3.js-1.0.0-beta.36 - I can not connect to INFURA

Help with the solution Installed the web3.js-1.0.0-beta.36 package on the hosting server. Register and receive from Infura https://mainnet.infura.io/v3/myadress 3.Where and what should I register to ...
0
votes
1answer
151 views

How to use infura API with web3 js? [duplicate]

How to use infura API with web3 js? Where should I put secret key?
0
votes
2answers
73 views

Trouble connecting to web3 1.0 through web browser using Infura.io

I am trying to connect to web3 1.0 through a web browser, I dont see much documentation for 1.0 though. This script says im connected but I think its the previous version as anytime I try and run a 1....
1
vote
1answer
69 views

Getting TX is not defined when trying to send signed transaction [closed]

I am trying to learn how to send a signed transaction using web3 1.0 and Infura.io. I have node.js running locally for testing. I can successfully create an address and check balances but am getting ...
1
vote
0answers
45 views

Same Block Received More Than Once With Same Block Parameters

Use Case: I am implementing a deposit system where I will get a block as it is mined and parse transactions to check for a deposit of Ether or a specific token. Getting the same block twice will ...
0
votes
1answer
72 views

Converting int to default block parameter

I am using Infura and web3j to query the Ethereum blockchain. My aim is to get information about certain blocks so i'm using the function web3.eth.getBlockByNumber, however it gives me incompatible ...
0
votes
1answer
43 views

how to watch the eth address with infura

our project now uses scheduled task to query the eth address with infura API to get its balance every 10 seconds but as the number of addresses keep increasing, the efficiency is very bad. Is there ...
1
vote
1answer
102 views

How to generate test funds for Infura Ropsten Network wallet

I have been using Web3.py, and Web3's TestRPCProvider to create some utility functions in Python to deploy a smart contract meant to generate an ERC20 Token, and then communicate with that smart ...
0
votes
1answer
16 views

How to code a Raw Txn using web3js?

I have this code which gives JSON error in web3. I tested the connections and reading the contract and that all works. There is something wrong with the "data" key in the JSON. Somehow the addBonus ...
0
votes
1answer
94 views

How to use infura with web3 to talk to remote ropsten node?

I understand we need mnemonic as we did use it in deploying contract with truffle so as to be able to send ether from our ropsten account private keys. I could not find a way use the same in my server....
3
votes
1answer
53 views

How should I store mainnet truffle artifacts?

Obviously, I shouldn't upload my private key or personal infura credentials to my repo, but I was wondering what was the best way to track main net truffle artifacts. Generally speaking, for test ...
0
votes
2answers
103 views

Cors Error with Infura?

anyone else who tries to read smart contract data through Infura and process it on front-end but gets 'CORS' error? My DAPP works fine in Google Chrome and has no issue in fetching the smart contract ...
0
votes
2answers
101 views

Benefit of using Infura for deploying smart contract

I have gone through Infura's website, blog and other resources but I am not clear about the benefit I'll get from using it for and after deploying my smart contract for an ICO sale. Do I really need ...
0
votes
1answer
124 views

Having issue with Infura mainnet web3 connection and getting info

I have been looking at a tutorial from DappUniversity about Web3... on the introductory video, I have completed all stages fine, but when getting to retriving account balance information from the ...
2
votes
0answers
174 views

ping / pong pattern for infura websocket [closed]

Infura websockets disconnect after an hour of in-activity so they suggest you ping / pong the connection at an interval less then an hour. My problem is I'm new to server-side programming and don't ...
3
votes
1answer
193 views

Problem reading events, with web3 v1.0 beta 36 and infura

I am trying to read events from a contract already deployed on the blockchain. The event might return uint which is has the indexed property. First I was using web3 from metamask and worked normally, ...
1
vote
1answer
41 views

How could I view tx pool on rinkeby via infura?

I use rinkeby test network over infura provider from nodejs app. Some of my transactions stuck in pending state. They are not shown in etherscan explorer pending list, but could be found by the hash. ...
1
vote
1answer
117 views

Web3js 1.0.0-beta.35 sendSignedTransaction() Error

I am using ropsten.infura as my provider. It is my very first time to use infura so please bear with me. This is my code for requesting the transaction. web3().eth.getTransactionCount(coinbase) ....
1
vote
2answers
131 views

Invalid JSON RPC response: “”

When I am trying to call a Write function of the smart contract deployed on the rinkeby network using truffle, I get error Invalid JSON RPC response: "" . Can you please help with what is causing ...
0
votes
2answers
243 views

Deploying on Rinkeby with Truffle using infura

If I want to use HDWalletProvider to deploy my contract on a specific address, what should I do? rinkeby: { provider: () => { return new HDWalletProvider("Mnemnoic", "https://ropsten.infura....
0
votes
1answer
184 views

CORS issue with infura.io on safari and mobile browsers

Connecting to infura.io is working fine when using chrome on desktop, however when using safari I get CORS issues. Also the mobile versions of the page don't even load on the device. The following ...
1
vote
2answers
97 views

How to compile and deploy smart contracts programmatically with Infura in NodeJs

I understand that i will need to be able to unlock my account in web3 to be able to deploy smart contracts. It's all good except i'm using Infura's hosted network instead which prevents me from ...
1
vote
1answer
156 views

How to access metamask accounts when using Infura Websockets

I am making a dApp where in for login purpose I access metamask account to which user is logged in. I also have a back end server that listens to events emitted by the smart contract that updates data ...
2
votes
1answer
103 views

Reliable way of listening to events on frontend

I make a web application, that needs the events from my contract to initialize it's state. I was using infura websocket provider, but it seems to lag a lot and close the connections unexpectedly ...