bitcoinj / secp256k1-jdk

Java library providing Bitcoin-related Elliptic Curve Cryptography
Apache License 2.0
9 stars 3 forks source link

Implement Provider interface for modular and non-modular apps. #42

Closed msgilligan closed 6 months ago

msgilligan commented 6 months ago

This makes it possible to build applications and libraries with a sole compile-time dependency on secp256k1-api. At runtime either the native (aka foreign or ffm) or Bouncy Castle implementation (when complete) can be "used".

msgilligan commented 6 months ago

@schildbach I just converted this to Draft, because I think the following PRs should be reviewed/merged first:

Once those are merged this one can be rebased.

msgilligan commented 6 months ago

PR #47 breaks out one minor change from this PR that can be merged separately.

Update: So does PR #48

schildbach commented 6 months ago

I'll review this once the others are merged and this one rebased.

msgilligan commented 6 months ago

@schildbach Ready-for-review!