Questions tagged [oracles]
The oracles tag has no usage guidance.
12
questions
0
votes
1
answer
39
views
Oracle pallet - Choosing Source of Stake
Staking is an essential component when designing an on-chain Oracle for a layer 1 Substrate NPOS chain. There are two competing staking designs:
Create new staking/sessions modules for the Oracle. ...
1
vote
1
answer
91
views
How to feed private data(confidential information) in Substrate chain through oracle?
Is there any Oracle solution available to feed private data to Substrate chain?
Feeding data to chain has already been answered here How can I build a price feed oracle for my Substrate chain?. And ...
0
votes
0
answers
16
views
How to decode two different values?
I am running two jobs which return different value. how to decode those value? for one job I am doing like this. Someone please suggest me how to decode two jobs value?
0
votes
1
answer
18
views
How to store json_data inside pallet runtime?
I am using Acurast to bring off-chain data into on-chain. I have created job and decode data inside fn on_fulfillment like this,
pub struct OnAcurastFulfillment;
impl ...
2
votes
1
answer
68
views
How to fetch data through api?
I want to fetch the data through an api in our chain. More specifically, I have an api which gives me the latest news. How can i implement this in our substrate chain?
can we have any doc or resources ...
0
votes
1
answer
23
views
How to store value inside runtime?
I have decoded price from acurast, now I want to store the price in chain and access it. How can this be done?
pub struct OnAcurastFulfillment;
impl pallet_acurast_fulfillment_receiver::traits::...
1
vote
0
answers
30
views
Status of the SBP-M1 review on Kylin Network Node implementation [closed]
Kylin network is waiting on a final review of their node implementation: https://github.com/Kylin-Network/kylin-collator/pull/127
Changes have been applied (https://github.com/Kylin-Network/kylin-...
2
votes
1
answer
36
views
Configure offchain worker with command line argument
Is configuring an off-chain worker with a command line argument possible?
e.g.
./target/release/cere --dev --alice --my-custom-url "http://my-..."
If not what are the other options?
3
votes
1
answer
120
views
Adding support for p256 keys and signatures (secp256r1)
Is it possible to add support for other cryptographic algorithms, or are we only allowed to use the implemented ones?
The implemented ones are sr25519, ed25519, ecdsa(secp256k1, not secp256r1).
I ...
0
votes
1
answer
26
views
How do validators pass in custom data sets that is available for all applications to easily use?
Suppose we want to create a chain which has a native oracle "module" - is it possible to customize the validators to provide the information, or do we develop a pallet for this?
In either ...
2
votes
1
answer
87
views
Off-chain workers on parachain's validators
I want to fetch information from some source via HTTP. I want to use the off-chain worker to do that after confirmation of transaction with details of the request. Then the response is received, I ...
10
votes
2
answers
320
views
How can I build a price feed oracle for my Substrate chain? [closed]
What components do I need to implement an oracle for a Substrate chain, such as a price feed? I'm looking to understand the general steps and considerations I should make. What libraries or projects ...