Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: refactor safe client to use multichain gateway #74

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

banteg
Copy link
Contributor

@banteg banteg commented Mar 8, 2025

Summary

  • Use new gateway URL https://safe-client.safe.global/ instead of network-specific URLs
  • Add deployed_chain_ids property to SafeAccount for easier chain access
  • Add get_client method with optional chain_id parameter
  • Update URL paths to include chain ID for multichain gateway
  • Update CLI to use new client interface
  • Improve naming and documentation

Fixes #56

Test plan

  • Run the tests
  • Try to access a Safe on multiple chains

@banteg banteg changed the title feat: refactor Safe client to use multichain gateway feat: refactor safe client to use multichain gateway Mar 8, 2025
@banteg banteg marked this pull request as draft March 10, 2025 16:04
@banteg banteg marked this pull request as ready for review March 10, 2025 16:12
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.

Refactor to multi-chain service
1 participant