Questions tagged [offchain-worker]
Oracle-like capabilities for Substrate chains.
6
questions
2
votes
1
answer
130
views
Offchain Worker Not Initializing - Cumulus Parachain Template
I am observing unexpected behavior with the Cumulus Parachain Template. Our pallet uses off-chain workers (OCW), and the functionality successfully runs when we attach it to the Substrate Node ...
7
votes
1
answer
191
views
Is it possible to query an OCW's Off-chain storage via RPC from an external service?
I'm off-chain indexing some pallet events into my off-chain local storage using an OCW. Now, I want to be able to retrieve this data via RPC from an external service.
Is this possible? Does it require ...
2
votes
1
answer
265
views
Process ethereum transactions in an offchain worker
I need to process Ethereum transactions in a substrate offchain worker. I already include EVM and Ethereum pallets, but I also need to do some communications with runtime code running as solidity ...
2
votes
1
answer
118
views
Working up-to-date complete source code for offchain workers?
Hello Substrate community
I've been trying to integrate an offchain worker capable of API calls on top of an existing Substrate cluster of 3 nodes I already have up and running successfully (based on ...
1
vote
1
answer
157
views
How to establish web socket connection in offchain_worker
Is there any way/example to establish web socket connection through off chain worker? There are many Rust examples but I can't use standard library.
Can someone please help me?
0
votes
3
answers
236
views
Enabling off-chain workers for substrate-node-template
I'm trying to test offchain workers in my local substrate node.
It seems that by default the ocw is not enabled? I've only been able to see logs from ocw's when running the node with the --dev option (...