Open elsirion opened 1 month ago
Scope overview: Enable the fedimint-client SDK to function within React Native environments, sharing library code with the existing web SDK.
Our current SDK includes a WebAssembly (WASM) bundle that exposes the Rust-based fedimint-client to web applications. This setup allows web environments to interact seamlessly with the fedimint client.
However, React Native—a popular framework for building native/mobile apps using React—cannot directly leverage the existing WASM bundle due to environment differences between web and native mobile platforms.
Note: This bounty aims to expand our SDK’s reach to mobile platforms via React Native, promoting broader adoption and community engagement. Your contribution will play a crucial role in achieving this goal.
@maan2003 take a look
fedimint react native is not going to be fun
we have to bundle rocksdb, and doing it as a library is not great :/ Maybe we can just force nix on all developers. But, forcing it for existing wallets is not great.
sad... any way around using rocks? Can we get a lighter-weight version of the DB with similar guarantees?
we have to bundle rocksdb, and doing it as a library is not great :/
Is that a problem if we just leave it to the rust RocksDB crate? That is statically linking by default anyway, right? We only do dynamic linking because it avoids recompiling it all the time.
yea that sounds like the way to go
@alexlwn123 can you add some context please?
1M bounty once scoped out.