We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d3d8b4a commit 8f165efCopy full SHA for 8f165ef
1 file changed
ComputeExamples.md
@@ -143,6 +143,7 @@ import {
143
sendTx,
144
configHelperNetworks,
145
ConfigHelper,
146
+ getNodeEndpointConfig,
147
getEventFromTx,
148
amountToUnits,
149
isDefined,
@@ -436,9 +437,7 @@ We need to load the configuration. Add the following code into your `run(){ }` f
436
437
const config = new ConfigHelper().getConfig(
438
parseInt(String((await publisherAccount.provider.getNetwork()).chainId))
439
)
- if (process.env.NODE_URL) {
440
- config.oceanNodeUri = process.env.NODE_URL
441
- }
+ Object.assign(config, getNodeEndpointConfig())
442
aquariusInstance = new Aquarius(config?.oceanNodeUri)
443
providerUrl = config?.oceanNodeUri
444
addresses = JSON.parse(
0 commit comments