Questions tagged [chainlink]

Chainlink is a decentralized oracle network that enables blockchain smart contracts to securely access off-chain data feeds.

Filter by
Sorted by
Tagged with
1
vote
1answer
11 views

Chainlink not updating variables in Ethereum Smart Contract

I am having a strange thing occuring on kovan network. I am running a smart contract calling my chainlink oracle to request some information. My chainlink oracle responds correctly with the expected ...
2
votes
2answers
21 views

Is Chainlink's price reference data free to consume?

I was looking at feeds.chain.link and it's not immediately obvious if anyone can tap into all these price feeds without incurring a cost: For instance, I did find the ETH/USD aggregator contract, ...
0
votes
1answer
26 views

Error on view function call {'code': -32015, 'data': 'Reverted 0x', 'message': 'VM execution error.'}

I have a view function I'm trying to call on the kovan network with the following code. (You'll need an RPC_URL for the kovan network.) The function is the Chainlink historical price view function. I ...
1
vote
1answer
12 views

Unsupported Protocol Scheme When Calling Chainlink Oracle

I have just deployed a smart contract that uses a get request from my chainlink oracle. In my contract it is called as shown below: Chainlink.Request memory request = buildChainlinkRequest(jobId, ...
4
votes
1answer
94 views

Chainlink import causing Truffle console to crash

Related issue on GitHub: https://github.com/trufflesuite/truffle/issues/3329 If I compile my contracts with truffle compile and then open the truffle console with truffle develop then this happens: ...
2
votes
1answer
29 views

How to convert address to string (for use in chainlink request)?

I'm a solidity beginner... This Chainlink.Request memory request = buildChainlinkRequest(clJobId, address(this), this.registerConfirm.selector); request.add("repo", msg.sender); says ...
0
votes
1answer
32 views

Chainlink wrong address [duplicate]

So I recently withdrew funds from binance to my wallet, unfortunately I input a digit wrong in the address and it’s gone elsewhere. Is it possible to recover these funds or the funds are completely ...
0
votes
1answer
39 views

TX failed - Bad instruction - Funds not back

I sent some $link amount but TX failed due to Bad instruction error. Tx is https://etherscan.io/tx/0xa45e443c8cf310dbe69ab725358ac2da20afde33442a55ed7df985fe6645057d Have read that failed transactions ...
3
votes
1answer
129 views

What is a blockchain oracle?

What is a blockchain oracle for smart contracts? And why is it needed? I've seen a lot of posts about "how do oracles work", and "what is the oracle problem" but I don't understand ...
1
vote
2answers
36 views

Generating random number in Solidity without Chainlink

Hello I'm well aware there are plenty of threads around discussing different methods. Just curious and wanted to ask directly here because feel like the situation might be different. Essentially I'm ...
4
votes
1answer
61 views

How is Chainlink decentralized? [closed]

I believe one of the main criticisms of chainlink is that it is not decentralized enough, adding more nodes would be a big step in a positive direction. When I pull data through a node, that node ...
2
votes
1answer
76 views

How to get all the historical data from chainlink price feeds?

I wanted to pull the historical data stored by the reference data contracts by chainlink oracles. Since all the data is on-chain, I should be able to view it all? But currently, my contract can only ...
1
vote
1answer
23 views

How is the volume for the currency pair accounted for on chainlink's reference data feed?

https://feeds.chain.link/ - link for reference. Let's take the LINK/USD feed for example: From my understanding, the aggregation contract fetches the price of LINK in USD from the node operators who ...
2
votes
0answers
35 views

How does chainlink solve the oracle problem? [closed]

I've heard a lot about Chainlink recently -- how Synthetix, Aave and other top Defipulse projects are using them. How exactly does Chainlink solve the oracle problem from a technical perspective?
2
votes
0answers
23 views

Advantage of Chainlink's VRF over commitment scheme chain

News Chainlink announced a randomness oracle via VRF: https://blog.chain.link/verifiable-random-functions-vrf-random-number-generation-rng-feature/. Question What is the advantage of an VRF over a ...
1
vote
1answer
36 views

Chainlink node error: BumpGasUntilSafe FindTxBy Attempt: record not found

I am currently testing sending requests to my Chainlink node on Ropsten. I am following the documentation for running a Chainlink node and all went well until. 40 BumpGasUntilSafe FindTxByAttempt: ...
2
votes
1answer
50 views

API Call in solidity: gas required exceeds allowance (8000029) or always failing transaction

I'm trying to make an API call in solidity. pragma solidity ^0.6.0; import "github.com/smartcontractkit/chainlink/evm-contracts/src/v0.6/ChainlinkClient.sol"; contract GetData is ChainlinkClient { ...
1
vote
1answer
85 views

How to make an API call in solidity using Chainlink?

I am following the documentation from the Chainlink site, and I am attempting to make an API call. The main issue is I'm not sure what "address" is referring too. I am using remix in solidity v0.6 ...
0
votes
0answers
40 views

Chainlink services are not supporting the privateFor transactions in Quorum/Kaleido

We are exploring Kaleido and Chainlink for one of our use cases. What we have done: We have created a network of Quorum/Raft nodes. We had setup the chainlink service for the network. We have setup ...
1
vote
1answer
50 views

How does specifying job parameters on Chainlink work?

I am trying to understand Chainlink, and I am running into a wall. I found this tutorial, which explains how I can create a job spec using JSON. The tutorial explains that you can specify the url, ...
0
votes
2answers
199 views

Chainlink Kaleido Contract compilation

I am trying to re-compile the ChainlinkEthPrice contract found in the Kaleido Sample Gallery here: https://kaleido-io.github.io/kaleido-samples-gallery/#/kaleido-samples-gallery/chainlink. Codes as ...
1
vote
2answers
382 views

Chainlink vs Oraclize [closed]

I am trying to choose between Chainlink vs Oraclize. Can anyone advise the difference between both solution? Nathan Aw