IntersectMBO / cardano-api

Cardano API
Apache License 2.0
26 stars 23 forks source link

Add function to extract anchor data from certificate #664

Closed palas closed 3 weeks ago

palas commented 1 month ago

Changelog

- description: |
    - Add function to extract anchor data from a certificate
  type:
  - feature

Context

This PR is part of addressing this review comment. It moves the extracting of anchor data into cardano-api together with the rest of code that inspects certificates for easier maintenance.

Related PRs

How to trust this PR

It is quite analogous to filterUnRegDRepCreds, except it does some conversion from PoolMetadata to AnchorData which are analogous types.

Checklist