Questions tagged [oracles]

Oracle is a way of implementing a Smart Contract. Instead of running the contract code directly on the blockchain, the code is executed on some special off-chain entities called oracles which then send the result of the code to the blockchain network with a signature.

Filter by
Sorted by
Tagged with
0 votes
1 answer
12 views

How to change response from oracle?

I need to test my contract, and to test I need to change data that I recieve from ChainLink Oracle (I get Ethereum price from it). So how can I change price on ETH local for tests using Ganache-Cli or ...
0 x's user avatar
  • 1
0 votes
1 answer
19 views

Oracle For Exchange Defaults

Simple question, is there a trustworthy oracle that can tell me whether an exchange (e.g. binance) defaulted, froze withdrawals, etc.
Neo's user avatar
  • 35
0 votes
1 answer
21 views

Is it possible Randomly generate and privately store data using Chainlink?

I'm working on a social coordination game for the Chainlink Constellation Hackathon. Game mechanics are similar to Mafia, Bang! or AmongUs where roles are assigned at the onset of the game. Roles ...
0xOmen's user avatar
  • 1
1 vote
1 answer
12 views

Oracle node to connect with the NYSE

Does exist an oracle that it’s able to connect with the NYSE or others stock markets? If so, could you please tell me which?
Juan Pestano's user avatar
0 votes
0 answers
66 views

Facing issues while running Chainlink node on XRPL EVM Sidechain network

Basically, I’m trying to run a Chainlink node on XRPL EVM Sidechain network. Here's the content of the config.toml file that I'm using: [Log] Level = 'warn' [WebServer] AllowOrigins = '\*' ...
SYED ASAD KAZMI's user avatar
1 vote
0 answers
49 views

What happens with Chainlink price feed when L2 sequencer is down?

What exactly happens with chainlink price feeds when an L2 sequencer is down? I know that during this moment transactions can be submitted only through L1 rollup contract and that some users can be ...
urataps's user avatar
  • 91
2 votes
0 answers
38 views

Oracles supporting Polygon Zkevm

Are there any oracles present at the moment supporting smart contracts to securely retrieve data from conventional APIs (not data feeds) through HTTP(S) GET and POST calls. We have looked into Witnet, ...
user1912027's user avatar
1 vote
1 answer
26 views

is it necessary to use oracles for Integrating IoT Sensors and smart contract in a Supply Chain Management DApp?

What are the best practices and methodologies for developing a decentralized application (dapp) that focuses on streamlining supply chain management processes through the integration of IoT sensors? ...
kaustubh sharma's user avatar
1 vote
0 answers
50 views

Chainlink Oracle to call API

I have quite some question regarding Chainlink call API. I made an API and trying to call it from my Chainlink through smart contract. As I linked my API to bridge in Chainlink Operator UI, I try to ...
xopherwwl's user avatar
0 votes
0 answers
15 views

Random delay inside a smart contract function

So, I'm trying to implement an anti-sniping feature that would make the users wait a random time between 0-12 seconds - specifically 0, 3, 6, 9 or 12 seconds because my smart contract would be on BSC. ...
duskdusk13's user avatar
0 votes
1 answer
23 views

Automate Chainlink Get API

I am working on a Parametric Insurance contract, the API call is working as expected, but I need to automate the call to the requestRainData() function. I need to constantly check if the rain MM in a ...
Farceg's user avatar
  • 11
0 votes
1 answer
42 views

Another contract is intercepting my contract calls and stealing the funds, what can it be?

This is the code I have, and I deployed to polygon mainnet to test. https://polygonscan.com/address/0x3CC3F39cc2386a8847378F4022917B3bB623BAFD // SPDX-License-Identifier: MIT // An example of a ...
Tsss's user avatar
  • 1
0 votes
1 answer
21 views

Chainlink vs DEXs & NFT Market prices

I am doing a futures dApp, so I need the price of the underlying assets (all assets are on-chain not fiat). What is the difference between using DEX and NFT Marketplace on-chain prices as oracle and ...
stevealock's user avatar
1 vote
1 answer
135 views

How to import file with hardhat

I'm following the Alchemy tutorial to build an NFT Marketplace with hardhat. I want to import my smart contract which is an APIConsumer by Chainlink. I can't do it by path since I'm not allowed by ...
Giacomo Bertazzolo's user avatar
0 votes
1 answer
84 views

How is consensus reached in a Decentralized Oracle Network?

I understand the deterministic nature of blockchains thus the need for oracles to feed outputs of non deterministic algorithms or API-calls to smart contracts. Using a single node oracle would defeat ...
Ahmed Rami Berrahal's user avatar
0 votes
0 answers
23 views

Current state of ETH Oracles?

Current state of ETH Oracles ? Code examples would be great. My question is what would you use today for a random number function ? Or for a cron job like functionality ? Would you use it in ...
 Hovo Pinelopi 's user avatar
1 vote
1 answer
19 views

Oracle recommendations for stablecoin project

Looking for an oracle to add to my stablecoin project. Want the essentials (decentralized, censorship-resistant, secure mechanics, no multi-sig to control everything). Any ideas?
Rayn's user avatar
  • 65
2 votes
2 answers
60 views

How do I become a reporter for Tellor?

I want to become a reporter for Tellor, but not sure where to begin. Are there any guides or tutorials?
Rayn's user avatar
  • 65
1 vote
2 answers
91 views

Chainlink Any API: ETHABIEncode while parsing ABI string: bad ABI specification: unsupported arg type: Trade: bad input for task

I am trying to fetch data from an api which gives multiple response in single call and I am doing this using chainlink external API calls. In my smart contract i have use array of struct to store ...
Rahul Pithadia's user avatar
0 votes
2 answers
71 views

How to get a tweet content using oracle in the smart contract to verify a user

I am trying to verify a user using his social media account. For this purpose, I am creating a registration function where a user needs to post his tweet with his existing EOA address. How can I ...
wolvorinePk's user avatar
0 votes
1 answer
42 views

Whitelist and identity tracking of NFT holders

I am working on ERC1155 NFT collection and because of the regulation related to the project I am part of, we are required to allow only certain users to hold the NFT. For that reason, I want to ...
Ron Megini's user avatar
1 vote
1 answer
16 views

Using Chalink oracle for ethereum application

Is using any Offchain data like chainlink oracle is safe as far security is concerned for any ethereum application and how does ethereum ensures that is is safe to use them
Kundan Kumar's user avatar
0 votes
3 answers
210 views

buildChainlinkRequest function of Chainlink is not working properly

The buildChainlinkRequest line no 47 takes 3 parameters: JobId Callback Address Function to callback to I have smartcontract1 and smartcontract2. The below mentioned function is inside ...
Dummy Mail's user avatar
0 votes
1 answer
72 views

Address to String in Chainlink Request is giving error?

When i am using req.add("publicKey","any_public_key_here_as_string"); I have 2 steps mentioned in our job specification decode_cbor [type=cborparse data="$(decode_log.data)&...
Dummy Mail's user avatar
0 votes
0 answers
14 views

How do I get an updated price from a Tellor oracle feed?

I'm new to Ethereum and trying to hack a project that uses tellor and I'd like to get a fresh update on an asset I don't currently see updated recently in the Tellor data feed. I guess I need to tip ...
WoTmate's user avatar
  • 21
0 votes
1 answer
31 views

Please help me with this events error with HttpProvider

I have encountered this error while trying to put my oracle online. Please, help!
Vidhan Mangla's user avatar
0 votes
0 answers
27 views

Please can anyone help me in converting this from Loom to Ethereum testnet?

I am trying to deploy this on Ethereum Goerli instead of Loom but do not understand what all to change. I am getting a lot of errors. Please, can anyone help me? Error Message PS C:\Users\VidhanMangla\...
Vidhan Mangla's user avatar
0 votes
1 answer
21 views

How to specify return value of chainlink MockOracle

I want to test my smart contract locally using chainlink MockOracle how can i specify the returned value and the job Id ?
noro meb's user avatar
  • 328
0 votes
1 answer
17 views

Contracts design

I have a project where users deploy their own instances of a contract and those instances need off-chain data through chainlink oracle, what's the best between making the contract has its own request ...
noro meb's user avatar
  • 328
0 votes
2 answers
32 views

NFT Price should be set by the algorithm and not by the owner

Just like how the algorithm controls the videos on youtube and not the platform itself. How can the price of NFT be set by the algorithm (from set of data that keeps changing). The owner of NFT ...
Mr Velvet's user avatar
0 votes
1 answer
265 views

How to Implement off chain Keepers for Decentralize Perpetual Exchanges like GMX.io?

I'm attempting to clone gmx.io. I understand most of the on-chain and Dex concepts, but I'm stumped on how to establish an off-chain Keepers they did not opensource the code for that, so could you ...
Shayan Shaikh's user avatar
0 votes
1 answer
210 views

Why does chainlink price feed use 8 as decimal in USD pairs? [duplicate]

I am trying to implement Chainlink's price feed in my contract. I've learned that when using the USD pair, it always uses 8 as the decimal. I am curious as to why 8 is used instead of 18, is there a ...
mingg's user avatar
  • 1
0 votes
1 answer
80 views

Calling Ethereum view functions from Polygon Smart contract?

Is there some sort of Polygon to Ethereum bridge product that allows you to write smart contracts which call view functions of smart contracts ddeployed on Ethereum Mainnet? My smart contract looks at ...
GGizmos's user avatar
  • 701
0 votes
1 answer
31 views

How to get ETH supply from smart contract?

knowing ETH supply from a contract have a lot of use cases in portfolio management. As far as i know there is no native way to query ETH supply from the contract. Is there any provable and trustless ...
21xhipster's user avatar
0 votes
0 answers
27 views

How does chainlink choose oracles to fullfill a request

I've read the Chainlink V1 whitepaper, and understand that the contract responsible for picking oracles to fullfill a request does SLA checks and selects from oracles that bid onto fullfilling a ...
Moustafa Mowaffak El Damer's user avatar
0 votes
1 answer
21 views

What is the motivation of data updaters in chainlink?

I wondered how chainlink works then I realized its price feeds like ETH/USD are updating periodically. if I get it right, the nodes have to update data in most blockchains continuously, which costs a ...
Meysam's user avatar
  • 81
0 votes
1 answer
32 views

Error when calling already deployed contract: AttributeError: Final argument must be a dict of transaction parameters that includes a `from` field

I'm trying to create a contract that communicates with JIRA API through Chainlink Oracle on the Goerli Network. The interaction should create a JIRA project, then write some of the returned JSON's ...
Levant Alejandro's user avatar
0 votes
3 answers
137 views

Are there any good/safe use cases for uniswap time weighted average oracle?

Been studying up on uniswap logic, and the time weighted average oracle system. From what I know, on chain oracles have traditionally been susceptible to manipulation attacks, and generally in my mind ...
Bruce's user avatar
  • 927
0 votes
1 answer
31 views

How to make data processing out of blockchain?

Is it possible to send data out of chain, process it and feed into smart contract without using centralized services? My goal is to make data processing large data decentralize (without using web2).
skock's user avatar
  • 1
1 vote
2 answers
68 views

How to Handle token prices for conversion ratio building a oracle contract

I am building a simple Oracle contract to provide conversion ratio to an other contract (a simple DEX), where conversion from token1 to token2 is fine since it equals to 10. The problem is when ...
Matos2802's user avatar
0 votes
2 answers
224 views

How to fetch IPFS data on Polygon Smart contract?

On a project in solidity, on Polygon/Matic, I need to fetch data from IPFS. So, an Oracle is mandatory, and I found 2 possible oracles: Provable (old Oraclize) seems do not accept 2nd layer Polygon. =&...
Aurel's user avatar
  • 71
0 votes
1 answer
21 views

What is the usual workflow among a user, a smart contract and an oracle?

Suppose a user A wants to feed a certain smart contract F with some data d that can be obtained from an oracle O. What is the usual workflow in the most popular oracle solutions? I imagine two ...
Lorenzo's user avatar
0 votes
2 answers
106 views

How exactly does smart contract consumes data from oracles?

I believe smart contracts cannot make network calls, hence cannot call an external API to get data. I have read that oracles are ways to provide outside data to smart contracts. I am now confused on ...
Finlay Weber's user avatar
0 votes
1 answer
410 views

Chainlink Oracle - What events are emitted and which should i listen to for price updates?

I am looking for events which are emitted by Chainlink oracles when price updates occur. E.g. the Aggregator for ETH/USD price (https://etherscan.io/address/0x5f4eC3Df9cbd43714FE2740f5E3616155c5b8419) ...
Plus Ultra's user avatar
2 votes
1 answer
106 views

Is using Compound as oracle dangerous?

I'm really curious about this. If I use Compound CToken function exchangeRateStored() as oracle for my project, is it dangerous? Can someone abuse that? Using flash loan to increase/decrease ...
BerlinHardFork's user avatar
1 vote
2 answers
334 views

How to get the price of eth (in INR) in a smart contract?

I want to create a stablecoin like DAI, but instead of pegging to usd, I want to peg it to INR. The problem is I'm not able to find a chainlink pricefeed for ETH to INR.
Jaskaran Singh's user avatar
1 vote
2 answers
45 views

how does one secure one's key when writing an oracle?

I'm looking to write an oracle that will interact with the blockchain in the following way. Client submit a withdrawal request on the contract The Oracle will pick up that request, check the balance ...
zcaudate's user avatar
  • 105
1 vote
1 answer
61 views

Contract function only works on array with one item

I have created a contract to loop over an array of token addresses and call the 1inch oracle. It only works when the token array is of length 1. Have been testing on remix. when inputting the token ...
D10001's user avatar
  • 23
2 votes
1 answer
233 views

What is the recommended waiting time between requestRandomWords and fulfillRandomWords calls in Chainlink VRF V2?

Recently, Chainlink published their VRF v2. The new VRF uses subscription management app. There is a delay between the requestRandomWords and fulfillRandomWords function. On the Goerli test net, ...
Shubham Sharma's user avatar
1 vote
1 answer
34 views

What does DON stand for?

to give a bit of context, I'm trying to follow a conversation about possible ways to do off chain voting for a DAO, and the acronym "DON" keeps being mentioned. Thanks!
ben's user avatar
  • 13

1
2 3 4 5
9