A Flutter Plugin To Operate Key Pairs Of Mina Protocol, With C Code Support. This Plugin support BIP32, BIP39, BIP44, all mina accounts will derive from m/44'/12586'/account'/0'/0'
-
public APIs are described in mina_signer_sdk.dart
-
Data switch between Dart and C heap should follow below conventions:
a) Common memory data use Uint8List in Dart, and mapping to uint8_t* in C
b) String passing should be utf8 encoded, and add ending 0 for C string usage.
c) Uint64 stored as BigInt in dart vm, and if you want to pass BigInt to C layer, please convert BigInt to bytes array with little endian.
ios/Classes/mina_native_signer
porting.c; porting.h
This project is a starting point for a Flutter plug-in package, a specialized package that includes platform-specific implementation code for Android and/or iOS.
For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.