feat(auth): add src-layout package skeleton and env-based auth config #12

Merged
scheerenkevin merged 1 commit from feature/package-skeleton-config-auth into develop 2026-08-03 04:19:39 +00:00
scheerenkevin commented 2026-08-03 04:18:42 +00:00 (Migrated from github.com)

Summary

  • src/alchemy_wallet_client package skeleton (py.typed included)
  • AlchemyConfig.from_env() reads the Alchemy API key from ALCHEMY_API_KEY (overridable env var name), raising MissingApiKeyError if unset/empty
  • API key is excluded from repr()/str() so it can never leak into logs or tracebacks
  • Confirmed py.typed and the new module ship correctly in the built wheel

Verified locally: hatch run lint, hatch run format-check, hatch run test (6 passed), hatch build.

Closes #2

Note: merges into develop, not the default branch main, so auto-close will not fire — issue closed manually after merge per repo process.

## Summary - `src/alchemy_wallet_client` package skeleton (`py.typed` included) - `AlchemyConfig.from_env()` reads the Alchemy API key from `ALCHEMY_API_KEY` (overridable env var name), raising `MissingApiKeyError` if unset/empty - API key is excluded from `repr()`/`str()` so it can never leak into logs or tracebacks - Confirmed `py.typed` and the new module ship correctly in the built wheel Verified locally: `hatch run lint`, `hatch run format-check`, `hatch run test` (6 passed), `hatch build`. ## Related Closes #2 Note: merges into `develop`, not the default branch `main`, so auto-close will not fire — issue closed manually after merge per repo process.
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
kevin/alchemy-wallet-client!12
No description provided.