Skip to content

Conversation

@humanagent
Copy link
Collaborator

@humanagent humanagent commented Apr 28, 2025

Refactor XMTP client initialization and signer creation in WalletConnection component to support Warpcast API proxy integration

  • Centralizes signer creation logic in new getSigner function within WalletConnection.tsx that handles ephemeral, EOA, and Coinbase Smart Wallet types
  • Replaces createSignerForCoinbaseSmartWallet with createOnchainKitSigner in xmtp.ts to provide direct signature handling without ECDSA-like signature generation
  • Separates XMTP initialization from wallet connection logic through a new effect hook that triggers on connection type or wallet availability changes

📍Where to Start

Start with the getSigner function in WalletConnection.tsx which centralizes the signer creation logic for all wallet types.


Macroscope summarized 3000cbc.

@humanagent humanagent changed the title Add Warpcast API proxy for improved integration Fix signer for coinbase Apr 28, 2025
@humanagent humanagent merged commit 0a71578 into main Apr 28, 2025
4 checks passed
@humanagent humanagent deleted the humanagent/test branch April 28, 2025 06:58
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.

2 participants