Skip to content

feat: refactor safe client to use multichain gateway - #74

Merged
fubuloubu merged 15 commits into
ApeWorX:mainfrom
banteg:feat/multichain
Jun 25, 2025
Merged

feat: refactor safe client to use multichain gateway#74
fubuloubu merged 15 commits into
ApeWorX:mainfrom
banteg:feat/multichain

Conversation

@banteg

@banteg banteg commented Mar 8, 2025

Copy link
Copy Markdown
Contributor

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
@fubuloubu fubuloubu mentioned this pull request May 13, 2025
3 tasks

@banteg banteg left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@fubuloubu
fubuloubu force-pushed the feat/multichain branch 2 times, most recently from 829a681 to 46dfe56 Compare June 19, 2025 20:53
@fubuloubu

Copy link
Copy Markdown
Member

Tests all pass locally. This branch doesn't have access to API key until merged

@fubuloubu
fubuloubu merged commit 50fa523 into ApeWorX:main Jun 25, 2025
5 of 15 checks passed
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

2 participants