Skip to content

Conversation

@rvagg
Copy link
Member

@rvagg rvagg commented Oct 13, 2025

Add WARM_STORAGE_ADDRESS, PROVIDER_ADDRESS, and PROVIDER_ID environment variable support to add, import, and daemon commands. Move env reading from core to commands to keep core Node.js-agnostic.

Fixes: #92

(I wanted the warmStorage override, so I did t he others while I was in there)

@rvagg rvagg requested a review from SgtPooki October 13, 2025 04:45
@SgtPooki
Copy link
Collaborator

@rvagg note #105 changed this setup a bit so it's easier to re-use. I plan to rebase this PR but idk if i'll get to this before you sign on

Add WARM_STORAGE_ADDRESS, PROVIDER_ADDRESS, and PROVIDER_ID environment
variable support to add, import, and daemon commands. Move env reading from
core to commands to keep core Node.js-agnostic.

Fixes: #92
@rvagg
Copy link
Member Author

rvagg commented Oct 14, 2025

Followed the same pattern as #104, ended up adding args for it as well, may as well given that we have a pattern to reduce code duplication. --provider-address and --provider-id.

@rvagg rvagg merged commit 7f8eca9 into master Oct 14, 2025
12 checks passed
@rvagg rvagg deleted the rvagg/overrides branch October 14, 2025 11:02
Comment on lines 187 to +188
rpcUrl: options.rpcUrl || RPC_URLS.calibration.websocket,
warmStorageAddress: process.env.WARM_STORAGE_ADDRESS,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Options should already have rpc and warmstorage set

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat: remove nodejs specific deps from src/core lib API

3 participants