Fix accidental API key exposure in source files - #1
Open
dewhush wants to merge 1 commit into
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What's happening here?
I noticed that some API credentials were accidentally committed to this repository. This is a pretty common issue — it happens to the best of us! Here's what this PR does:
Changes
Files cleaned up:
./.envRemoved hardcoded API keys from source files
Added
.env.examplewith placeholder values so new contributors know what env vars are neededUpdated
.gitignoreto prevent environment files from being committed in the futureWhat you should do after merging
Quick setup after merge
cp .env.example .env # Edit .env with your actual API keysHappy to answer any questions!
If you found this helpful, tips are welcome:
ETH: 0x1478f1BDEACc7b434b4405350A15993cDcddc79F