10101-PoC icon indicating copy to clipboard operation
10101-PoC copied to clipboard

Create ADR concerning Rust/Flutter interoperability

Open klochowicz opened this issue 2 years ago • 1 comments

Initial exploration of flutter showed that we have a few unknowns.

Some questions:

  • how to communicate with long-running tasks in Rust from Flutter, such as LDK
  • where to keep state - singletons (e.g. conquer_once/lazy_static) in Rust, or keep them in Flutter and pass as parameters? (the latter is more library convention). By state I mean: things like the wallet, the db, the seed file etc.
  • poll for changes or try to add some pub/sub system

klochowicz avatar Oct 27 '22 05:10 klochowicz