[Flutter/Dart] Support Dart: Use Dart FFI #1264
Replies: 14 comments 11 replies
-
The latest progress:
pubspec.yamldart binding file:
|
Beta Was this translation helpful? Give feedback.
-
Are you building dart bindings on top of existing iOS/android lib? |
Beta Was this translation helpful? Give feedback.
-
about dart ffi usage:rust + ffi + flutter:
|
Beta Was this translation helpful? Give feedback.
-
Hey, what's status of dart binding? I think you can skip building process and unzip aar from here https://bintray.com/trust/wallet-core/com.trustwallet.wallet-core/2.4.1 |
Beta Was this translation helpful? Give feedback.
-
Hey, Thanks and regards |
Beta Was this translation helpful? Give feedback.
-
Can't we just put the aar files into android/lib/ folder and interact with them using method channel ? |
Beta Was this translation helpful? Give feedback.
-
Follow up:
use FFI:use Platform Channels:
|
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
I'm impl a Flutter plugin to doing this, most method are wrap, will keep updating, welcome pull request https://github.com/weishirongzhen/flutter_trust_wallet_core |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
Impressive work @weishirongzhen . Also started a trustwallet-core flutter plugin using |
Beta Was this translation helpful? Give feedback.
-
Hey 👋, do you guys have any updates on this matter? I think it’s really important to make it support Flutter. |
Beta Was this translation helpful? Give feedback.
-
Banco Beneficiário: Banco Topazio S/A | Código SWIFT: TOPZBRRSXXX | IBAN:
BR9407679404000000598183965C1 | Titular da Conta: Ruy Eduardo Barbosa De
Assuncao Maia | Endereço: Rua 18 de Novembro, 273 - Porto Alegre - RS,
90240-040 /// Banco Intermediário: Standard Chartered Bank | Código SWIFT:
SCBLUS33 | Titular da Conta: Banco Topazio S/A | Número da Conta:
3544026839001 | Endereço: New York, USA
Em qua., 28 de fev. de 2024 00:42, L1en ***@***.***> escreveu:
… Hey 👋, do you guys have any updates on this matter? I think it’s really
important to make it support Flutter.
—
Reply to this email directly, view it on GitHub
<#1264 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A2PQQHEAESTIKQRLWVWUHMDYV2RSLAVCNFSM43U5UEPKU5DIOJSWCZC7NNSXTOKENFZWG5LTONUW63SDN5WW2ZLOOQ5TQNRRGMYTCNI>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***
.com>
|
Beta Was this translation helpful? Give feedback.
-
Support Dart:
wallet-core
in dart.dart:ffi
to make it.wallet-core
.my fork:
dart/ffi-base-on-v2.3.9
dart:ffi
to support dart here.dart ffi:
libs:
usage: c++ with ffi
Maybe these are the things I need?
docs:
binding: https://developer.trustwallet.com/wallet-core/developing-the-library/building
ios: https://developer.trustwallet.com/wallet-core/integration-guide/ios-guide
*.h
jni:
gen proto ?
https://github.com/trustwallet/wallet-core/blob/e8ff9c7106/tools/generate-files
pb: https://github.com/trustwallet/wallet-core/blob/e8ff9c7106/src/proto/Ethereum.proto
iOS:
Android:
code gen:
Beta Was this translation helpful? Give feedback.
All reactions