---
# System prepended metadata

title: General intro

---



# General intro
We are the team creating a crypto wallet for our cryptocurrency.
The current solution is split into the wallet project and the library with wallet functions. For mobile development, we use the Flutter framework and Dlang for library implementation. 
# What we have now
Right now, we have a working solution for ios:
The library is written in D and cross-compiled to a shared object with TRIPLET=arm64-apple-ios12.0 via the ldc2 compiler. The library is linked to the wallet project via the ffi library.
The library is stateful, so it keeps memory between calls.
In the library, we included druntime - as Dang, it depends on it.
# What we have tried
To build the library for Android, we tried to create an archive (.a). It resulted in many errors about linking with druntime, so we decided to rewrite the library on betterC that doesn’t need a druntime.
We successfully run a PoC, but now it seems like the library can’t be stateful anymore. We still have linking issues with secp256k1 library.
# What we need
We need an expert Android consulter with experience linking the library to Android (Flutter preferred), cross-compiling (ldc2), and making scripts. We need to review our current solution and create a cross-compilation build flow.