Questions tagged [oracle]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
2 answers
38 views

XTZ price history API

I need a simple API that provides historical XTZ price against fiat currencies like USD and EUR, or other cryptocurrencies like BTC. Ideally I just need to compose an HTTP GET request with a date/time ...
ktorn's user avatar
  • 435
1 vote
2 answers
42 views

Manipulable block hash by baker

Is the block hash a manipulable variable by a baker ? If not what about the value as a good source of randomness to use as a public verifiable random seed ?
Mieus's user avatar
  • 121
1 vote
0 answers
45 views

How does an oracle contract get data from outside the blockchain?

I want to build an oracle which gets data on chain from a weather API. The way I'm thinking about implementing this is to run a server which periodically fetches the data from a weather API, and calls ...
tinuggunit's user avatar
0 votes
1 answer
17 views

my tezos oracles docker image (tqtezos/oracle-stock-ticker) is unable to find activation code via faucet file

my tezos oracles docker image (tqtezos/oracle-stock-ticker) is unable to find activation code from faucet configuration file using flask app. Getting following error: File "/usr/local/lib/python3....
Kamran Shahid's user avatar
1 vote
1 answer
159 views

Calling Harbinger using Smartpy to get randomness

I want to get a random value in my smart contract to provide a fair distribution of different tokens. I read that using Harbinger to get values and use it for entropy could be the good way to do. But ...
Noctambul's user avatar
1 vote
1 answer
96 views

What would be the simplest way to connect a smartpy contract to an oracle tracking the XTZ/USD pair?

I see there's a smartpy chainlink oracle example and a github repo for Harbinger. I briefly looked at the code and it appears they are for setting up Oracles + clients. Are there any existing XTZ/USD ...
JJJ's user avatar
  • 557
1 vote
1 answer
125 views

Design an oracle that provides random values to a contract

This answer mentions an improved way for an oracle to provide random numbers to a contract. use commitments, i.e. the oracle would push a hash in the contract before the game, and send the random ...
MCH's user avatar
  • 690