People who code: we want your input. Take the Survey

Questions tagged [kovan]

Kovan is a new testnet for Ethereum using Parity's Proof of Authority consensus engine, which is immune to spam attacks as Ether supply is controlled by trusted parties and provides a consistent 4 second block time.

Filter by
Sorted by
Tagged with
2
votes
1answer
18 views

Is there a decentralized way to intercommunicate between two Ethereum networks?

If I have Contract A deployed to the Rinkeby Test Netwok If I have Contract B deployed to the Kovan Test Netwok Then, can we program the contracts to interact with each other like Contract A invoking ...
0
votes
1answer
14 views

Not receiving LINK from Chainlink kovan faucet

I attempted to get funds from kovan.chain.link to my metamask address and the money did not come through. I got some errors as seen here: https://kovan.etherscan.io/tx/...
1
vote
0answers
24 views

Gas Estimation Error - Swap Contract

I'm working on developing a contract that automatically performs a swap and have been having an issue with the swap function. I finally got the contract deployed on Kovan, but have been getting the ...
1
vote
0answers
13 views

Contract method works on local but not on testnet

The following method, which works perfectly fine on my local ganache. function someMethod() external view returns ( bool someValue, uint256 lastIndex, uint256 totalTokens ...
0
votes
0answers
11 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
0answers
16 views

AAVE Protocol v1 issue on reserve addresses with compound ctoken addresses

https://kovan.etherscan.io/tx/0xa7f5e857d1a9ecb4aca0714b24a70ca0942cc1a656c8e09b6d01bab9af4ec9e5 I am trying to make a transaction from DSProxy (Smart Wallet) on a contract https://kovan.etherscan.io/...
0
votes
0answers
35 views

Issue with `TRANSFER_FROM_FAILED` when calling Uniswap contract - but I am approving the token!

My code is pretty simple function swapForEth(address tokenAddress, uint amountIn, uint amountOutMin, address to, uint deadline) external onlyOwner payable { require(IERC20(...
0
votes
2answers
48 views

Exception:Reverted when swap by smart contrat with uniswap

Here is my code pragma solidity ^0.8.2; import "https://github.com/Uniswap/uniswap-v2-periphery/blob/master/contracts/interfaces/IUniswapV2Router02.sol"; contract Test_Swap{ address ...
2
votes
2answers
218 views

“Invalid Chain Id” on Kovan testnet

I'm attempting to initiate a transaction (transfer of ETH) from my main account to a test account on the Kovan Testnet, but I'm getting the error Returned error: Invalid chain id. from the following ...
0
votes
1answer
34 views

'Transaction nonce is too low. Try incrementing the nonce.' while following truffle tutorial

I ran into a nonce error on the last leg of this tutorial : https://www.trufflesuite.com/boxes/flashloan-box I also supplemented the tutorial with this video on yt(fyi b/c some of the code comes from ...
0
votes
0answers
12 views

How to get smart contract assertion message thorugh web3.js? [duplicate]

I revert a transaction in my smart contract when a specific condition is met. For instance: function doMoneyLaundering(uint256 millionsOfDollars) public { ... require(...
0
votes
1answer
69 views

Transaction not showing on Kovan etherscan even after its status showed transaction mined and executed successfully

I have my contract deployed on Kovan Testnet and from remix IDE I called one of the functions of my smart contract through remix itself. Now, the status of transaction shows "transaction mined ...
1
vote
0answers
33 views

Is kovan network died? [duplicate]

Kovan's network faucet is inactive. I have only found a few "faucets" that give me 0.01 or 0.1 test Ether every 24 hours... https://faucet.kovan.network This is the Kovan Token contract. Its ...
3
votes
1answer
416 views

Cant find sushiswap router address for Kovan testnet

Can anyone get me a routerV2 address for sushiswap on Kovan? The address given on sushi page is incorrect.Thanks
0
votes
2answers
68 views

Deploy contract to Kovan with brownie and infura

I'm trying to simply deploy a smart contract in Kovan network, i've used the export of the ID using export WEB3_INFURA_PROJECT_ID=xxxx but i'm getting this error ValueError: The method ...
0
votes
2answers
210 views

Seamless process to obtain test ether from faucet? [duplicate]

I am unable to successfully "Buy" Ether from a faucet for Ropsten or from Kovan. Is it me or do most people have issues setting up a testnet using Ropsten and/or Kovan? Can anyone help me ...
0
votes
1answer
172 views

Chainlink Price feed Main contract points to Kovan. Why? [closed]

I'm setting up price feeds with Chainlink. https://docs.chain.link/docs/ethereum-addresses#mainnet This page has sections: Mainnet, Rinkeby, Kovan. Under Mainnet.. Clicking a pricefeed takes me to .. ...
0
votes
0answers
114 views

Deploying ERC20 Error

I'd like to deploy follow "StandardERC20" token to kovan test net using Truffle. I want to deploy same contract like "https://etherscan.io/address/...
0
votes
1answer
58 views

ETH transactions to presale contract keep failing

I'm trying to send some ETH to a presale smart contract on Kovan. Allowance has been set with presale address as a spender - with the exact same amount as the tokens allocated in the presale contract. ...
0
votes
2answers
313 views

Unable to interact with a contract on Kovan network on Remix IDE

I am working on a project and I have successfully deployed a smart contract on Kovan test network, but for some reason, I am not able to interact with it in JS code. So, now I want to access it ...
0
votes
0answers
18 views

BlankToken Transaction

So i deployed my smart contract on Kovan Network using Remix IDE, i after successful compilation I added the arguments of the constructor to create the token, it deployed successfully but the issue ...
0
votes
1answer
692 views

false Transaction mined but execution failed

I was trying to deploy my smart contract to Kovan test network using Remix IDE,although it compiles successfully but when I try to deploy it I get this error message "false Transaction mined but ...
0
votes
0answers
40 views

Deploying MakerDao on local testnet

So I've been trying to do this for days now, and It says I have to configure ~/.sethrc and change the C, --chain to testnet. But I don't know which github repo to clone and do all of this on. There is ...
0
votes
0answers
25 views

How to change contract interactions to kovan?

I am using newest web3 v1.2.4 const Contract = require('web3-eth-contract'); Contract.setProvider(INFURA_KOVAN_HTTPS); const contract = new Contract(CONTRACT_ABI, CONTRACT_ADDR); I have that code and ...
0
votes
1answer
123 views

Howto check sync with kovan testnet is complete or not?

I am trying to sync with Kovan testnet, docker run --name eth -p 8546:8546 -v ~/ws-002-chainlink/ws00-docker-geth-ropsten:/geth -it ethereum/client-go:stable --testnet --syncmode light --ws --wsaddr 0....
0
votes
1answer
79 views

How can I obtain testnet REP for use on Kovan?

I would like to test the new version of Augur on the Kovan testnet. Where can I obtain testnet REP in order to do so? I found https://faucet.kovan.network/ for Kovan Ether (KETH) but cannot find ...
0
votes
1answer
28 views

How to sign a erc20 contract call with key using web3

I am making a call to the Dai contract on the Kovan testnet to facilitate transactions between any two addresses entered as input. I was able to successfully make read calls but I realized I needed to ...
0
votes
1answer
69 views

web3.eth.defaultChain returns undefined

Hi I am trying to make a call to the Dai contract in the Kovan testnet using web3.js and have to set the value of web3.eth.defaultChain to 'kovan'. The docs state that the default value for web3.eth....
1
vote
1answer
68 views

How to handle events for testnet and mainnet?

I know how to handle events using personalised blockchain using ganache, can anyone tell me how to handle events in Kovan,rinkeby testnets?
4
votes
2answers
2k views

Sending multiple transactions in the same block with incremented nonces

I need to send 0.1 ETH to 10 unique addresses from the same address at the same time. I am manually incrementing each transaction's nonce, and the transactions are sent successfully. However, each ...
0
votes
1answer
22 views

ETH transfer to MultiSig contract keeps on getting reverted

I am creating a MultiSigWallet contract. I compiled and deployed the MultiSigFactory contract to kovan network. But when I transfer funds to the contract it gets reverted, as shown on Etherscan.
0
votes
0answers
39 views

web3.js function contract.once() not working on Kovan, but working on ganache

I am subscribing to an event (just once, queued after an update) of a contract to reload the data like this on my react frontend: const instance = new web3.eth.Contract(abi, address) instance.once( ...
1
vote
1answer
71 views

Who is 0x093a0ed738b65ed34f2a37a2d44c5e3cd0d0dd45?

I was working with ethereum using: - solcjs web3 truffle public no firewall kovan node (parity) and MultiSigWallet.sol from https://github.com/gnosis/MultiSigWallet And when I checked my wallet in ...
0
votes
0answers
88 views

Is it possible to use ganache blockchain when I deploy my web app in heroku? or should I deploy the contract first to a test network?

const web3 = new Web3( new Web3.providers.HttpProvider( "https://kovan.infura.io/v3/INFURA_KEY" ) ); const abi = JSON.parse( '[ { "constant": false, "inputs": [ { "internalType": "string", "...
1
vote
0answers
323 views

Mocha timeout when running truffle test. Works fine on ganache, not on public networks

This is the error I get when running truffle test --network kovan: 1) "before all" hook: prepare suite Error: Timeout of 120000ms exceeded. For async tests and hooks, ensure "done()" is called; if ...
0
votes
1answer
20 views

Balance returning zero after sending KETH to it

I have sent the following transactions to the account 0x2D76d8729F9Cfa5bC3CEba8a504400FE30bb53D2: 0x8667bd1859a5ccc99bcc77b38c5453195bf32b308b4038ae409b47b002546344 ...
1
vote
1answer
190 views

Deploy smart contract on Ropsten, Kovan

When I deploy my truffle smart contract on test networks like Ropsten and Kovan, can I interact with it using multiple PCs at once simultaneously? And will the data updated from one PC be visible on ...
2
votes
1answer
226 views

Difference between Kovan and Rinkeby? [duplicate]

I understand that both the Rinkeby and Kovan testnets employ the Proof of Authority (PoA) consensus algorithms. I also understand how PoA works. However, I still dont understand how Kovan and Rinkeby ...
0
votes
1answer
227 views

Kovan contract creation gas limit behavior

I have a fairly large contract that I must create on Kovan network for testing. There is fairly weird behavior occurring when I am trying to create the said contract. Behavior being: whenever ...
0
votes
1answer
28 views

How to get exchange rates for testnets?

I would like to see what a PETH on Kovan is worth in DAI. How can you look for exchange rates on testnets?
0
votes
1answer
205 views

Error : migrate kovan

From : truffle migrate --network kovan >> ProviderError: VM Exception while processing transaction: revert >truffle migrate --reset --network kovan Warning: Both truffle-config.js and ...
0
votes
1answer
318 views

Web3-core-helpers error: Uncaught (in promise) Error: Provided address “undefined” is invalid,

When I launch the app with with react.. this error occur when my exchange contract is loaded.. Here is the code i wrote to talk to the blockchain: export const loadBalances = async (dispatch, web3, ...
0
votes
1answer
118 views

truffle migrate --network kovan >> ProviderError: VM Exception while processing transaction: revert

I am a beginner. I can deploy to a private network but I can not deploy to a public network. I need a Deploy to the kovan test network. please help me. >truffle init >npm install truffle-...
0
votes
1answer
53 views

truffle exec scripts/seed-exchange.js --network kovan

I've been running into an error when I attempt to seed my exchange/contracts on the kovan test network. Any help would be appreciated. Using network 'kovan'. Token fetched ...
1
vote
3answers
869 views

truffle migrate --network kovan issue

When I run truffle migrate --network kovan in the terminal the contract deployment doesn't run. Just: Compiling your contracts...==================== >Eveything is up to date, there is nothing to ...
0
votes
1answer
202 views

How to redirect to Etherscan website when transaction completes?

In my project, I am doing a transaction by using ethereum.send({ }) method from web3 in javascript using metamask. After the transaction completes I want to display the link to the user in label ...
0
votes
1answer
74 views

What are the list of nodes at the bottom of kovan.json?

The Genesis file for Kovan has a list of nodes at the bottom. What are these nodes for? Is this just a list of known Kovan nodes? "nodes": [ "enode://...
1
vote
2answers
143 views

OpenZeppelin contract not working on Kovan testnet

I created a simple smart contract using OpenZeppelin and deployed the contract to the Kovan testnet. However, when I send KEth to the contract using MetaMask, nothing happens (I believe the buyTokens ...
0
votes
2answers
43 views

Is it possible to use MetaMask for a private consortium on Ethereum?

Assuming we create a private consortium chain over Ethereum and we want to use MetaMask for storing the keys and signing transactions to send the tokens belonging to this private consortium. ...
1
vote
1answer
43 views

Event firing before data is actually set [Testnet]

Today I've faced the behavior similiar to this post. Event firing before data is actually set I'm getting events using infura and then checking for the state. I expect to read updated blockchain ...