You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As of #28 , we only recognize CIDs in the prf field of UCANs. However, the UcanBuilder API only accepts a Ucan as the value for the witnessed_by method that adds elements to the prf field. This is convenient because the builder automatically encodes the Ucan and adds its CID on your behalf. However, there are cases where you will have the CID handy but perhaps not the UCAN it points to. For this case, it can be convenient to add a witness by CID. We should enhance UcanBuilder to support this.
The text was updated successfully, but these errors were encountered:
As of #28 , we only recognize CIDs in the
prf
field of UCANs. However, theUcanBuilder
API only accepts aUcan
as the value for thewitnessed_by
method that adds elements to theprf
field. This is convenient because the builder automatically encodes theUcan
and adds its CID on your behalf. However, there are cases where you will have the CID handy but perhaps not the UCAN it points to. For this case, it can be convenient to add a witness by CID. We should enhanceUcanBuilder
to support this.The text was updated successfully, but these errors were encountered: