Skip to content

cool-wallet/trust-wallet-core-flutter

 
 

Repository files navigation

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")
    }
}

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();

Then you are ready to run.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Dart 99.8%
  • Other 0.2%