-
ProblemWhen using Envio, there are two use cases for specifying RPCs:
In the 2nd use case, is there any way to load the RPC from the YAML config, so that the RPCs don't have to be defined/maintained in multiple places? Solution:
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
No, |
Beta Was this translation helpful? Give feedback.
-
No |
Beta Was this translation helpful? Give feedback.
No,
getConfigByChainId
won't probably work, and we have plans to deprecate it in v3. What about using env vars and reading them both from code and config.yaml. I know that it's not the best solution, but we want to polish effect API cache first, before introducing a built-in RPC client on top of it.