Skip to content

feat: add --safe-address option and isV2 query param#12

Merged
bengobeil merged 1 commit intomainfrom
feat/safe-address-support
Mar 19, 2026
Merged

feat: add --safe-address option and isV2 query param#12
bengobeil merged 1 commit intomainfrom
feat/safe-address-support

Conversation

@bengobeil
Copy link
Copy Markdown
Contributor

Summary

  • Add optional --safe-address flag to underwrite and tap-credit commands
  • When provided, the safe address is used in the API URL path instead of the JWT wallet address
  • Appends account_type=gnosis query param when acting as a safe
  • Adds isV2=true query param to the underwrite endpoint

Test plan

  • E2e tests verify safe address appears in URL (not JWT wallet) for both underwrite and tap-credit
  • E2e tests verify account_type=gnosis query param is present when --safe-address is used
  • Existing tests continue to pass without --safe-address

🤖 Generated with Claude Code

…ap-credit

- Add optional --safe-address flag to underwrite and tap-credit commands
- When provided, use safe address in URL instead of JWT wallet address
- Append account_type=gnosis query param when acting as a safe
- Add isV2=true query param to underwrite endpoint
- Add e2e tests verifying safe address routing and query params
@bengobeil bengobeil merged commit 20ccde6 into main Mar 19, 2026
1 check passed
@bengobeil
Copy link
Copy Markdown
Contributor Author

🎉 This PR is included in version 0.0.11 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant