You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
TrustWalletCore/WalletCore pod in Kotlin Multiplatform - almost no classes #2492
This successfully enables import cocoapods.WalletCore.* in shared/iosMain (see screenshot). Without the above cocoapods {...} the import is unavailable. So far so good.
Expected behavior
Many classes available for import in Kotlin: WalletCore classes like HDWallet, EthereumSigningInput, AnySigner etc.
Screenshots
Additional context
I can see/use these library classes in Swift, in Xcode via pod TrustWalletCore (and import WalletCore).
By the looks of it, the available Crypto class is generated from the Pod/library by commonizer in 0_WalletCore.knm (about 15 expect functions in total - a couple here for illustration):
@kotlin.commonizer.ObjCCallable public open external expect fun base58Encode(data: platform.Foundation.NSData): kotlin.String { /* compiled code */ }
@kotlin.commonizer.ObjCCallable public open external expect fun generateMnemonicFromSeed(seed: platform.Foundation.NSData): kotlin.String { /* compiled code */ }
Crypto has mnemonic-related functionality, as well as signHash/verifySignature but not much else.
Activity