Skip to content

Add support for DEVNET=true environment variable#8

Open
mcintyre94 wants to merge 1 commit into
helius-labs:mainfrom
mcintyre94:support-devnet
Open

Add support for DEVNET=true environment variable#8
mcintyre94 wants to merge 1 commit into
helius-labs:mainfrom
mcintyre94:support-devnet

Conversation

@mcintyre94
Copy link
Copy Markdown

If the environment variable DEVNET is set to true, this will use the devnet RPC and API paths. I used a string comparison to true instead of existence of the variable, so that if someone sees it set to true and changes it to false then they'll get mainnet as they expect.

- Use Helius devnet RPC + API URLs
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.

1 participant