Hot answers tagged

3

To communicate between two different networks, you need a bridge of some sorts. The most straightforward bridge is an oracle service which relies data between the chains. To create a decentralized bridge is very difficult. Basically you need decentralized oracles (something similar to Chainlink) and a decentralized backend system which relies the data. The ...


3

https://staging.aave.com/#/faucet. You just connect with your Metamask wallet on Kovan testnet and select USD Coin. You will be prompted to accept the metamask transaction and after you will receive 10000 USDC tokens. You just add the address you provided here to Metamask to see your tokens and you're all set.


2

Hey you need to do this for testing on kovan const tx = new EthereumTx({ from: PK, chainId: 42, // kovan chain id to: "0x8631c939359FBb8cb336532b191ED80b20287CD1", value: toHex(toWei(".1")), gas: toHex("21000"), nonce, });


2

updated the migration file and then forked a branch from the main net using the following command: ganache-cli --fork https://mainnet.infura.io/v3/YOUR_INFURA_KEY -i 1 This fixed the primary issue of this thread


1

That oracle address and jobId look like they are inactive. These should work: // The address of an oracle - you can find node addresses on https://market.link/search/nodes address ORACLE_ADDRESS = 0xc57B33452b4F7BB189bB5AfaE9cc4aBa1f7a4FD8; // The address of the http get job - you can find job IDs on https://market.link/search/jobs string constant ...


1

If you don't specify the network in truffle it will default to the network named development. if you don't define the development network in your config file it will default to the default development network spec it has hardcoded. to use your kovan network you will need to specify the network : truffle console --network=kovan this will work with any ...


1

The faucet temporarily ran out of LINK tokens and has been refilled. Try again and it will work.


1

After some digging around in the source files of ethereumjs-tx, I found that the way to specify a chainId and hardfork is to add a second object to your EthereumTx constructor. The chainId field takes a number (chainId) or a string (chain name), which just acts as a query to require the data necessary for that chain. This field defaults to "mainnet"...


1

Have a look here https://kovan.etherscan.io/address/0x1b02dA8Cb0d097eB8D57A175b88c7D8b47997506, just verified it on etherscan. Other addresses of Sushiswap contracts can be found here: https://dev.sushi.com/sushiswap/contracts


1

The error message Bad instruction and the gas consumption equal to gas limit 1,000,000 indicates the problem was caused by an assert or low level error like array out of bound access. Looking at the receive function none of the transfers should cause Bad Instruction. Failed transfers revert but do not consume all available gas. After discarding mapping ...


1

Since you already have the source code of the contract, you can follow the below steps to get the interaction options on Remix Create a .sol file and paste the contract code in it Compile the code using the appropriate settings (version etc.) Switch to the "Deploy & run transactions" tab. Select the contract name in the contract field if it ...


1

Your steps to use Remix are fine, so just two remarks that might help: Make sure you have selected your contract CampaignFactory in field CONTRACT from <Deploy & Run transactions> menu. Otherwise, if you put the contract address but you haven't selected the contract, it won't deploy it in Remix. The field CONTRACT is linked to the file explorer, ...


1

It is a transaction that creates a contract so since it fails the problem is in the constructor. constructor( address[] memory _components, int256[] memory _units, address[] memory _modules, IController _controller, address _manager, string memory _name, string memory _symbol ) public ERC20(_name, _symbol) { controller ...


Only top voted, non community-wiki answers of a minimum length are eligible