-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Blockfrost backend for MonadBlockchain
#243
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't see the MonadBlockchain
instance in this PR. Is it intentional?
-- & L.hkdDL .~ _ (_protocolParamsDecentralisationParam pp) | ||
-- & L.hkdExtraEntropyL .~ | ||
-- maybe BaseTypes.NeutralNonce (BaseTypes.Nonce . _) (_protocolParamsExtraEntropy pp) | ||
-- & L.hkdExtraEntropyL .~ _ (_protocolParamsExtraEntropy pp) | ||
-- & L.ppProtocolVersionL .~ | ||
-- L.ProtVer | ||
-- { L.pvMajor = _ (_protocolParamsProtocolMajorVer pp) | ||
-- , L.pvMinor = _ (_protocolParamsProtocolMinorVer pp) | ||
-- } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Bin?
-- TODO | ||
-- stake addresses | ||
|
||
-- DONE |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Bin?
My bad! I made some commits yesterday but didn't push them |
We can implement the whole
MonadBlockchain
interface with blockfrost. Some notesConway
. See note [Protocol Parameter Conversion] for details on extracting conway-era protocol parameters from the API response