pycardano
pycardano copied to clipboard
Support for Ogmios 6.x in the ChainContext
Is your feature request related to a problem? Please describe. Currently pycardano only supports Ogmios < 6.0.0 for the ChainContext but the API has changed since.
Describe the solution you'd like There is an implementation of the OgmiosChainContext built by Viper Science here that could be used instead. I would suggest we inherit the code entirely and simply make ogmios package independent of pycardano and import it instead. We can then dynamically switch to their implementation if we find that the Ogmios client indicated is version >= 6.x
Describe alternatives you've considered The user can be tasked directly to indicate the ogmios api version. Also, we could keep the ogmios and pycardano package seperate entirely.
Additional context None