Sunday, April 19, 2026
HomeiOS Developmentios - TrustWalletCore/WalletCore pod in Kotlin Multiplatform - virtually no lessons

ios – TrustWalletCore/WalletCore pod in Kotlin Multiplatform – virtually no lessons

[ad_1]

In our Kotlin Cell Multiplatform challenge for iOS and Android, we’re attempting to entry TrustWalletCore cocoapod from Kotlin.

cocoapods {
   model = "1.0"
   podfile = challenge.file("../iosApp/Podfile")
   pod("WalletCore")
}

And the Podfile is

goal 'iosApp' do
  pod 'TrustWalletCore'
finish

This efficiently permits import cocoapods.WalletCore.* in shared/iosMain – with out the above cocoapods {...} the import is unavailable.

Nonetheless, solely a Crypto class is on the market from this bundle (and CryptoMeta which does not look too totally different).
only Crypto class

By the seems of it, it is generated from the Pod/library by commonizer in 0_WalletCore.knm (about 15 capabilities in complete):

@kotlin.commonizer.ObjCCallable public open exterior anticipate enjoyable base58Encode(knowledge: platform.Basis.NSData): kotlin.String { /* compiled code */ }

@kotlin.commonizer.ObjCCallable public open exterior anticipate enjoyable generateMnemonicFromSeed(seed: platform.Basis.NSData): kotlin.String { /* compiled code */ }

It has mnemonic-related performance, in addition to signHash/verifySignature however not a lot else.

I hoped to see – accessible to import in Kotlin – lessons like HDWallet, EthereumSigningInput and so forth.
I can use these library lessons in Swift, through pod TrustWalletCore in Xcode (import WalletCore).

WHY can I not get an identical/full set of lessons through native.cocoapods plugin?

[ad_2]

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments