biscuit-rust icon indicating copy to clipboard operation
biscuit-rust copied to clipboard

WIP: remove `ToAnyParam` and use `Into<Param>` instead

Open divarvel opened this issue 3 months ago • 0 comments

Continuation of #302

The goal is to:

  • remove the possibility of passing a public key where a term is expected
  • remove ToAnyParam in favor of Into<AnyParam> for simplicity
  • (possibly) extend the passing of public keys to support multiple keys at once, and keywords.

The main difference is that ToAnyParam takes a reference, while Into consumes its input.

todo

  • [x] try using Into<Term> instead of T: ToAnyParam
  • [ ] try using Into<(PublicKey, Vec<PublicKey>)> instead of PublicKey

divarvel avatar Sep 16 '25 09:09 divarvel