Any principal.Signer or principal.Verifier can be Encode()d polymorphically, returning a multiformat value. But that value can't be re-Decode()d back to the correct implementation automatically, even though the multiformat contains enough information to select the implementation.
This has already been implemented locally in guppy, but the implementation properly belongs in go-ucanto.
Any
principal.Signerorprincipal.Verifiercan beEncode()d polymorphically, returning a multiformat value. But that value can't be re-Decode()d back to the correct implementation automatically, even though the multiformat contains enough information to select the implementation.This has already been implemented locally in
guppy, but the implementation properly belongs ingo-ucanto.