2

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?

1 Answer 1

1

Yes, you will have to configure it using your own custom node. You can modify the CLI that your custom node uses to expose any flags you need and pipe those values into your OCW when you instantiate it in your service.rs.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.