Skip to content

Rename SWARM_X402_PRIVATE_KEY to X402_PRIVATE_KEY - #73

Merged
crtahlin merged 1 commit into
mainfrom
fix/rename-x402-private-key-env
Feb 26, 2026
Merged

Rename SWARM_X402_PRIVATE_KEY to X402_PRIVATE_KEY#73
crtahlin merged 1 commit into
mainfrom
fix/rename-x402-private-key-env

Conversation

@crtahlin

Copy link
Copy Markdown

Summary

  • Rename SWARM_X402_PRIVATE_KEY env var to X402_PRIVATE_KEY — not Swarm-specific, may be used by other services
  • Backwards-compatible fallback preserved in x402_client.py
  • Add PROVENANCE_WALLET_KEY to .env.local for on-chain anchoring (same wallet for testing, separate keys in production)

Test plan

  • 535 unit tests pass
  • Base Sepolia blockchain tests pass (3/4, anchor tx confirmed on-chain)

The env var is not Swarm-specific and may be used by other services.
Backwards compatibility preserved via fallback in x402_client.py.
Also adds PROVENANCE_WALLET_KEY to .env.local for chain operations.
@crtahlin
crtahlin merged commit 0499e1f into main Feb 26, 2026
11 checks passed
@crtahlin
crtahlin deleted the fix/rename-x402-private-key-env branch February 26, 2026 07:53
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