trust_wallet_core 0.0.6 copy "trust_wallet_core: ^0.0.6" to clipboard
trust_wallet_core: ^0.0.6 copied to clipboard

A Flutter plugin for trust wallet core

trust_wallet_core #

A Flutter plugin for trust wallet core, mapping all api list in https://github.com/trustwallet/wallet-core/tree/master/include/TrustWalletCore

IMPORTANT #

Because official lib build flag in CmakeLists.txt set(CMAKE_CXX_VISIBILITY_PRESET hidden), that will cause android exception when dart ffi lookup function.

if you want to run android demo, follow this My other repo to run full demo,

Android #

Add

class MainActivity: FlutterActivity() {
    init {
        System.loadLibrary("TrustWalletCore")
    }
}
copied to clipboard

in your android project MainActivity.kt file

minSdk require >=23

iOS #

min ios platform support >=13.0

dart part #

before use wallet_core, call below function once.

 FlutterTrustWalletCore.init();
copied to clipboard

Then you are ready to run.

13
likes
120
points
79
downloads

Publisher

unverified uploader

Weekly Downloads

2024.09.25 - 2025.04.09

A Flutter plugin for trust wallet core

Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

ffi, fixnum, flutter, protobuf

More

Packages that depend on trust_wallet_core