Questions tagged [chainlink]

Chainlink is a decentralized oracle technology connecting smart contracts on any blockchain to data providers, web APIs, enterprise systems, cloud services, IoT devices, payment systems, other blockchains, and more. This tag should be applied to any question about building or debugging decentralized oracles with Chainlink.

Chainlink is a technology for connecting smart contracts on any blockchain to data providers, web APIs, enterprise systems, cloud services, IoT devices, payment systems, other blockchains, and much more. The technology was envisioned by Sergey Nazarov, Ari Juels, and Steve Ellis. The Chainlink whitepaper was published in 2017 and the mainnet went live on Ethereum on May 2019. Chainlink is being built with .

Resources:

Tutorials

Related technologies

505 questions
2
votes
3 answers

Cannot boot Chainlink: opening db: failed to open db:

When I "chainlink node start", I get the error: "Cannot boot Chainlink: opening db: failed to open db: failed to connect to host=/private/tmp user=myname database=: server error (FATAL: unrecognized configuration parameter "?application_name"…
2
votes
1 answer

How chainlink can be used for verifying Biometric data

Chainlink oracles are solving the real world problems in a big way. I am working on a project, which solves the user biometric identity privacy. So my question is that we trust chainlink oracles because it fetches data from multiple sources and…
Anil Saini
  • 21
  • 3
2
votes
0 answers

Chainlink: API array response to bytes

I am using the fulfillOracleRequest2 with bytes data fulfillOracleRequest2(bytes32 requestId, uint256 payment, address callbackAddress, bytes4 callbackFunctionId, uint256 expiration, bytes data) my API and external adapter parse is returning…
rolele
  • 781
  • 9
  • 24
2
votes
0 answers

Perform a POST api request using chainlink in a smart contract with body?

I don't have much experience using ChainLink so I cannot provide many details. I want to add a body to my post request the code above is just an example: Chainlink.Request memory request = buildChainlinkRequest(jobId, address(this),…
Lucas Goldner
  • 617
  • 9
  • 29
2
votes
5 answers

brownie:ValueError: execution reverted: VM Exception while processing transaction: revert

Macbook Pro : Monterey Intel Core i7 Brownie v1.17.2 I am learning solidity according to reference(https://www.youtube.com/watch?v=M576WGiDBdQ&t=25510s). What I tried to do here, is use brownie to deploy a contract(FundMe) in a script…
mike515
  • 183
  • 1
  • 14
2
votes
1 answer

Proper Sizing for Mainnet Chainlink Node on AWS

This is a sizing question. Chainlink docs say a min of 2 cores, 4 gigs of ram AWS Chainlink quickstart defaults to 2 cores, 2 gigs of ram What is the proper size for a mainnet production chainlink node? Thanks Chris Anubis Soft
2
votes
4 answers

How can I import AggregatorV3Interface

I'm trying to import AggregatorV3 but the file is nowhere to be found here is my code; I'm sorry in advance i'm still a beginner programmer. //SPDX-License-Identifier: MIT pragma solidity ^0.8.9; import…
2
votes
1 answer

Ethereum Chainlink HTTP Get not pinging my HTTP endpoint

I am attempting to have my Ethereum smart contract connect to an external HTTP endpoint using Chainlink. Following along with Chainlink's documentation (https://docs.chain.link/docs/advanced-tutorial/) I deployed this contract onto the Rinkeby…
Chris Whipple
  • 395
  • 3
  • 13
2
votes
1 answer

How to mock Chainlink/oracle API responses on hardhat

On the hardhat starter kit, the unit test checks if you can make an api request. But it doesn't actually fulfill the request. In the tasks, it requests volume data but it isn't shown how to fulfill the request. From looking at the code for the…
2
votes
2 answers

Problems using ganache-cli command

It's saying that it doesn't recognize ganache-cli as a command, despite installing it and everything else as directed. Using: brownie v1.17.2 node v17.2.0 (npm v8.1.4) nvm 0.39.0 Python 3.9.7 Ganache CLI v6.12.2 (ganache-core: 2.13.2) As part of…
cl_la
  • 61
  • 4
2
votes
1 answer

Chainlink Node step 5. Build and Install: getting error code 137 for yarn

I am trying to run a chainlink node from source and am following the install instructions. I'm currently running make install It looks like the error code says there is not enough memory on my machine, but my linux container on my chrome duet has…
Clint Oka
  • 53
  • 8
2
votes
2 answers

Chainlink Node - encode_tx error incorrect length

I'm developing an external adapter and it's not working when I make a request to my local chainlink node. I have this error in the encode_tx step. This is the error: ETHABIEncode: while converting argument 'data' from to bytes32: incorrect…
2
votes
1 answer

how to enable local bridge/httpget/task api connection to chainlink node?

I have a custom API running on http://127.0.0.1:8080 and I have my own chainlink node running on http://127.0.0.1:6688. I get the error saying "Connections to local/private and multicast networks are disabled by default for security reasons:…
2
votes
1 answer

authorization for chainlink node v2 api

i'd like to work with the chainlink v2 api to automatically adding jobs after creating a chainlink node. using curl this works well for health curl localhost:6688/health but not for protected endpoints like curl localhost:6688/v2/jobs which…
2
votes
1 answer

Getting individual array elements from the data returned by a chainlink external adapter

In the job I'm adding for my external adapter, I'm looking to get results for the first 3 elements in the Results array one at a time.(see the data returned from my external adapter below) So I'm adding "position" to my chainlink request in the…
Daniel
  • 31
  • 4