-
Notifications
You must be signed in to change notification settings - Fork 79
Description
Which crate is this feature request for?
payjoin-ffi
Please describe the feature you'd like to see added.
Right now building from source is the default method, which means every user of this repository will need Rust + NDK + platform toolchains set up. This adds a lot of friction for regular Flutter devs who just want to add bdk as a dependency.
Proposal: Support multiple build modes:
Prebuilt - download from GitHub releases, verify checksums, no toolchain needed
Source - opt-in for custom builds, auditing, airgapped environments etc
Auto (default) - try prebuilt first, fall back to source if unavailable or verification fails
Binaries should be version-locked to the resolved package version and verified with SHA256. If download fails or checksum doesn't match, show a clear error with instructions to switch to source mode.
This keeps the zero-setup experience for most users while still supporting advanced use cases.
Is your feature related to a problem, if so please describe it.
No response
Describe the solution you'd like
No response
Describe any alternatives you've considered
No response
Please leave any additional context
No response