You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Facilitator v2: Add local signing support by reusing EVM_PRIVATE_KEY (#140) (#141)
* Facilitator v2: Add local signing support by reusing EVM_PRIVATE_KEY
This change enables facilitator v2 to send transactions on standard RPC
providers by using local signing with private keys instead of requiring
unlocked accounts on the node.
Changes:
- V2Config now includes privateKey field from EVM_PRIVATE_KEY env var
- FacilitatorConfig: make signer optional, add privateKey field
- createWalletClientForNetwork: support privateKey for local signing
- Update /supported endpoint to check for either signer or privateKey
- All route dependencies updated to pass v2PrivateKey
Fixes#140
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
* Address PR review comments: make signer optional, improve validation
Changes:
- Make signer parameter optional in createWalletClientForNetwork
- Allow either signer or privateKey (not require both)
- Support privateKey with or without 0x prefix
- Add validation in createWalletClientForNetwork
- Update tests to cover new validation logic
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com>
0 commit comments