We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8a44ec6 commit 1e27222Copy full SHA for 1e27222
bindings_ffi/tests/test_android.kts
@@ -6,8 +6,13 @@ import org.web3j.crypto.*
6
import uniffi.xmtpv3.*
7
8
class Web3jInboxOwner(private val credentials: Credentials) : FfiInboxOwner {
9
- override fun getAddress(): String {
10
- return credentials.address
+ override fun getIdentifier(): FfiPublicIdentifier {
+ // Create a FfiPublicIdentifier from the Ethereum address
11
+ return FfiPublicIdentifier(
12
+ identifierKind = "ethereum",
13
+ identifier = credentials.address,
14
+ relyingPartner = null
15
+ )
16
}
17
18
override fun sign(text: String): ByteArray {
0 commit comments