mobile/

directory
v0.12.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 30, 2026 License: Apache-2.0

README

KernelFlow Wallet Mobile

License

gomobile-friendly façade over wallet-sdk — its offline signing core and online RPC handlers. It reshapes the rich Go APIs into the flat, string-based, primitive types that gomobile bind can export to iOS (.xcframework) and Android (.aar).

Why it exists

gomobile bind only crosses the language boundary with a narrow set of types (numbers, bool, string, []byte, and structs of those). The signing SDK's rich API — slices of structs, interfaces, generics — cannot be bound directly. This package provides the flattened wrappers (acc, tx, util) that can.

Build

sh buildmobile.sh android   # -> dist/wallet_mobile.aar
sh buildmobile.sh ios       # -> dist/WalletMobile.xcframework
sh buildmobile.sh all

Requires gomobile (and garble for the obfuscated iOS build).

Selecting chains

By default every chain is bundled. Pass a chain list as the second argument to bundle only those — excluded chains and their dependencies are dropped from the binary:

sh buildmobile.sh android "evm sol trx"

Chains: evm sol trx kas apt sui substrate egld utxo.

License

Apache License 2.0 — see LICENSE.

Directories

Path Synopsis
example
aptos command
evm command
evm-sign712 command
kaspa command
multiversx command
solana command
substrate command
sui command
tron command
utxo command

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL