Skip to content

fix: use environment variable for private key instead of hardcoded#2

Open
thebookofiz wants to merge 1 commit into0xIntuition:mainfrom
thebookofiz:fix/use-env-for-private-key
Open

fix: use environment variable for private key instead of hardcoded#2
thebookofiz wants to merge 1 commit into0xIntuition:mainfrom
thebookofiz:fix/use-env-for-private-key

Conversation

@thebookofiz
Copy link
Copy Markdown

Removes hardcoded Ethereum private key from src/setup.ts and requires PRIVATE_KEY env var instead. This is a security improvement.

- Remove hardcoded Ethereum private key from setup.ts
- Require PRIVATE_KEY environment variable (with helpful error message)
- Update .env.example to document the required variable
- This prevents accidentally committing secrets to version control
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