All Questions
Tagged with offchain substrate-node
2 questions
4
votes
1
answer
54
views
Is there a way to use a crate that depends on the `std` in substrate OCW?
from what I've learned so far, the OCW is designed specifically for executing heavy and time-consuming computations outside of the runtime. As the OCW is not a part of runtime/wasm, I guess the OCW ...
2
votes
1
answer
170
views
How can I create OCW that won't activates every block, but will activates only when I call function that it represents?
I wanna create OCW that will send a http request to the API and get the response and use this response in runtime code to call extrinsic with this data. This OCW should triggers only when I want to ...