GithubHelp home page GithubHelp logo

vardex-suisse / flutter_trust_wallet_core Goto Github PK

View Code? Open in Web Editor NEW
5.0 1.0 0.0 41.99 MB

Flutter bindings for TrustWalletCore library.

Home Page: https://github.com/trustwallet/wallet-core

License: MIT License

Kotlin 0.10% Ruby 0.16% Swift 0.06% Objective-C 0.05% Dart 99.63%
flutter cross-platform hdwallet multicoin blockchain cryptocurrency

flutter_trust_wallet_core's Introduction

flutter_trust_wallet_core

A Flutter plugin for trust wallet core. It can access all api list in https://github.com/trustwallet/wallet-core/tree/master/include/TrustWalletCore (from trust_wallet_core version 2.6.20)

This project was originally copied from weishirongzhen

Android

minSdk require >=23

Add

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

in your android project MainActivity.kt file

Create github authoken (currently not required as pre-compiled .aar is used)

Create a github auth token to fetch binary from official TrustWalletCore maven repo

Set gradle project property gpr.user and gpr.token or set system environment variable GH_USERNAME and GH_TOKEN with the credentials you recieved from github

Compiling TrustWalletCore .aar (use this until lookup error solved)

  1. Pull official trustwallet core repo
  2. Change set(CMAKE_CXX_VISIBILITY_PRESET hidden) to set(CMAKE_CXX_VISIBILITY_PRESET default) in CmakeLists.txt (Line 14)
  3. Build project ./bootstrap.sh
  4. Compile for android run ./tools/android-build
  5. Copy trustwalletcore.aar in /build to android/libs in this project

iOS

min ios platform support >=13.0

Flutter

Before using this package, you need to initialise it:

 FlutterTrustWalletCore.init();

flutter_trust_wallet_core's People

Contributors

hnord-vdx avatar weishirongzhen avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

flutter_trust_wallet_core's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.