Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: evm network from env vars #2170

Merged
merged 2 commits into from
Oct 2, 2024

Conversation

mickvandijke
Copy link
Contributor

Adds the ability to set the EVM network for the CLI tool by env vars. Eg:

RPC_URL=http://localhost:56772/ PAYMENT_TOKEN_ADDRESS=0x5FbDB2315678afecb367f032d93F642f64180aa3 CHUNK_PAYMENTS_ADDRESS=0x8464135c8F25Da09e49BC8782676a84730C318bC cargo run --bin autonomi_cli --features local-discovery file upload evmlib

If no env vars are set, it will default to Arbitrum One.

Copy link
Member

@grumbach grumbach left a comment

Choose a reason for hiding this comment

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

LGTM

@grumbach grumbach merged commit 3044266 into maidsafe:evm-dev Oct 2, 2024
9 checks passed
@mickvandijke mickvandijke deleted the evm-dev-cli-evm-net-params branch October 2, 2024 07:31
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.

3 participants