-
Notifications
You must be signed in to change notification settings - Fork 12
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
Smart contract wallet support #304
Conversation
…/xmtp/xmtp-android into np/smart-contract-wallet-support
library/src/androidTest/java/org/xmtp/android/library/TestHelpers.kt
Outdated
Show resolved
Hide resolved
|
||
val clientOptions = options ?: ClientOptions(enableV3 = true) | ||
val accountAddress = | ||
if (account.isSmartContractWallet) "eip155:${account.chainId}:${account.address.lowercase()}" else account.address.lowercase() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This was the fix for the Unknown Signer
issue. We need to create the client with the CIAP address.
library/src/androidTest/java/org/xmtp/android/library/TestHelpers.kt
Outdated
Show resolved
Hide resolved
library/src/androidTest/java/org/xmtp/android/library/TestHelpers.kt
Outdated
Show resolved
Hide resolved
Branch: main | ||
Date: 2024-10-08 19:58:58 +0000 | ||
Version: 6937f233 | ||
Branch: np/fix-ffi-bindings |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The WASM branch broke the FFI bindings so had to roll back to the commit before the wasm branch.
This adds support for smart contract wallet accounts.